Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,397
» Latest member: MaxTranslate
» Forum threads: 38,822
» Forum posts: 176,026

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 26 Guest(s)
Bing, Google, Facebook Dev, Mojeek, Apple, Gribouillis

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: MaxTranslate
3 hours ago
» Replies: 2
» Views: 4,578
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Today, 08:37 AM
» Replies: 4
» Views: 156
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Today, 07:27 AM
» Replies: 7
» Views: 3,586
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 141
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 282
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,098
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,951
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 174
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 105
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 177

 
  visualizing huge correation matrix
Posted by: erdemath - Oct-12-2021, 09:18 AM - Forum: Data Science - Replies (3)

I have a huge correlation matrix with the dimension of (654345,2,2). It was generated by Pearson's coefficients, i.e. numpy.corrcoef. What is the best..... More

Print this item

  How to fix while loop breaking off
Posted by: raphy11574 - Oct-12-2021, 09:01 AM - Forum: General Coding Help - Replies (3)

Hello,

So I was trying out a hangman game from this website and I have an i..... More

Print this item

  Flask 404 eroor
Posted by: Annoogy - Oct-12-2021, 08:31 AM - Forum: Web Scraping & Web Development - Replies (1)

I am new to pythond and flask.. I downloade pycharm and trying to do a simple web app, when I try to opne an html page fron index always get 404 erro..... More


Attached Files

Thumbnail(s)
           
Print this item

  help with commas in print functions
Posted by: kronhamilton - Oct-12-2021, 08:22 AM - Forum: General Coding Help - Replies (11)

I'm trying to separate numbers, with a comma, within a print function. I've tried to find anything on it, but I couldn't find anything. Its probably a..... More

Print this item

  Write a dictionary with arrays as values into JSON format
Posted by: paul18fr - Oct-12-2021, 06:22 AM - Forum: Data Science - Replies (3)

Hi

I'm working with dictionaries where values are (numpy) arrays, and I'm trying to figure out how to export these dictionaries in an JSON format, ..... More

Print this item

  my python intrepeter completely broke
Posted by: Underscore - Oct-12-2021, 01:40 AM - Forum: General Coding Help - Replies (9)

anything i try to run (even if its empty)
i get the error:
[error]
Traceback (most recent call last):
line 1, in <module>
from _typeshed import S..... More

Print this item

  returning a different class
Posted by: Skaperen - Oct-11-2021, 08:32 PM - Forum: News and Discussions - Replies (4)

i am rewriting my zopen class. this time i want to catch the case of a file which needs no special handling an just return the file object my [inline..... More

Print this item

  replace exact word
Posted by: marfer - Oct-11-2021, 05:22 PM - Forum: General Coding Help - Replies (1)

Dear Python users,
I am trying to replace substrings in a pandas column with the respective exact substring. Imagine that I have the following text:..... More

Print this item

  Problem using two-dimensional interpolation. Result looks bad
Posted by: player1682 - Oct-11-2021, 11:40 AM - Forum: General Coding Help - Replies (4)

Hello everyone. I am following this tutorial (at 04:57) to construct two-dimensional int..... More


Attached Files

Thumbnail(s)
       

.txt   Ydata_48_of_50.txt (Size: 19.48 KB / Downloads: 426)
.py   test3_merge1and2.py (Size: 992 bytes / Downloads: 356)
Print this item

  pyspark creating temp files in /tmp folder
Posted by: aliyesami - Oct-11-2021, 04:14 AM - Forum: General Coding Help - Replies (1)

the spark submit job is creating large files in the temp folder when i run the dataload job , and failing when the /tmp folder gets full.
can i dive..... More

Print this item

  pyspark parallel write operation not working
Posted by: aliyesami - Oct-11-2021, 04:04 AM - Forum: General Coding Help - Replies (1)

I want pyspark code to use parallel threads when connecting to the database when i am inserting into a table but its not.

I have tried splitting th..... More

Print this item

  try function working on PC but not raspberry pi
Posted by: AnotherSam - Oct-11-2021, 03:56 AM - Forum: General Coding Help - Replies (1)

Hello all,
I have a function which checks if an entry is a number or not. The code works fine on my pc which is running python 3.7.9 (bottom right ha..... More

Print this item

  Homework Help
Posted by: ChristianOOOO - Oct-11-2021, 02:18 AM - Forum: Homework - Replies (4)

Hey, I'm new here and new to programming. All of the questions were pretty easy to figure out but I'm having difficulty with the last questions.

It..... More

Print this item

  printing an string instead of a expression
Posted by: Underscore - Oct-11-2021, 01:21 AM - Forum: General Coding Help - Replies (2)

i want to print literally the string "\n", not the expression \n
how would i do that?

Print this item

  [SOLVED] Read text file from some point till EOF?
Posted by: Winfried - Oct-10-2021, 09:25 PM - Forum: General Coding Help - Replies (1)

Hello,

I need to jump to a given string in a text file, and grab everything from that point to the end of the file for further processing using a r..... More

Print this item

  Multiple loops
Posted by: Paulman - Oct-10-2021, 08:00 PM - Forum: General Coding Help - Replies (4)

Hello, I'm writing a short program in Python 3.8 (Pycharm) with the following target: welcomes users in a party as they check in.
The steps are the f..... More

Print this item

Exclamation Homework( Solution found)
Posted by: Zaochen - Oct-10-2021, 06:04 PM - Forum: Homework - Replies (2)

hello just starded to following studies in python but there are short(4h once in 2 weeks) and dont explain everything what we get in in our homework ..... More

Print this item

  Convert legacy print file to XLSX file
Posted by: davidm - Oct-10-2021, 01:08 PM - Forum: General Coding Help - Replies (1)

Hi, I have a project to convert a print file (attached) to xlxs format. I've created the Excel headers (attached) and would like to append the columns..... More


Attached Files

Thumbnail(s)
       
Print this item

  Parsing a syslog file
Posted by: ebolisa - Oct-10-2021, 08:48 AM - Forum: General Coding Help - Replies (11)

Hi,

I'm trying to extract data from a system log file but, I cannot get the syntax right.
Particularly, I'm trying to get the username and its tim..... More

Print this item

  PySide2 and QMediaPlayer
Posted by: menator01 - Oct-10-2021, 06:01 AM - Forum: GUI - Replies (19)

I've been trying to get mp3 files to play using QMediaPlayer with no success. Can anyone shed some light on what I'm missing?
The basic code. If you ..... More

Print this item

  pysql connection to cloud server database times out
Posted by: Pedroski55 - Oct-10-2021, 12:43 AM - Forum: General Coding Help - Replies (9)

I have only ever used shared web hosting for my little webpages. That makes things easy for people like me who are not so computer-fit.

Now I have re..... More

Print this item

  matplotlib, no plot when using Figure
Posted by: ajvperth - Oct-10-2021, 12:37 AM - Forum: General Coding Help - Replies (2)

Hello,
as I am breaking by brains about this, I hope you can give me a suggestion.
I work on Linux / openSUSE 15.3 and python 3.9.4 in a virtual con..... More

Print this item

  Using Mock with python
Posted by: Hocinema - Oct-10-2021, 12:17 AM - Forum: Code Review - Replies (4)

Hello,

I need help to mock some Class/variable in python test. Here is the scenario:

[python]
app_client.py
class AppClient:

def..... More

Print this item

  Scrollbar
Posted by: apffal - Oct-09-2021, 08:16 PM - Forum: GUI - Replies (7)

Using Canvas I get scrollbar in the right side of the form.
Is not possible put the scrollbar inside listbox ?

This is my relevant code

[python..... More

Print this item

  Updating to Python 3.10 on Windows
Posted by: rafaeldominiquini - Oct-09-2021, 05:07 PM - Forum: News and Discussions - Replies (4)

I have Python 3.9.7 (x64) installed on my Windows 10. When I download the Python 3.10.0 installer, I don't see the option to update/replace my current..... More

Print this item

  how to view all installed software in a dialog
Posted by: Tyrel - Oct-09-2021, 03:02 PM - Forum: General Coding Help - Replies (6)

Good day,

I am trying to view installed software in a dialog where the buttons are the names and when you click on a button is prints the path of t..... More

Print this item

  Homework
Posted by: chickenseizuresalad - Oct-09-2021, 11:39 AM - Forum: Homework - Replies (4)

Hi,I have a homework question: Write a program that will ask for a favorite genre (type) of music, and then make a recommendation.
I have attempted it..... More

Print this item

  About List & Tuples
Posted by: MilesWeb - Oct-09-2021, 09:47 AM - Forum: News and Discussions - Replies (4)

We know that Lists are mutable i.e they can be edited. Also Tuples are immutable i.e. tuples can’t be edited.

How would you differentiate between t..... More

Print this item

  ImportError: cannot import name 'Pyfhel' from 'Pyfhel'
Posted by: Anldra12 - Oct-09-2021, 08:31 AM - Forum: General Coding Help - Replies (11)

I use some recently GitHub publish code ----->https://github.com/ibarrond/Pyfhel it return me error [error]ImportError: cannot ..... More

Print this item

  Compare two Excel sheets with Python and list diffenrences
Posted by: dmkfon - Oct-09-2021, 08:29 AM - Forum: General Coding Help - Replies (1)

Hello,
I have issue with my program. The aim of this program is to compare two Excel sheets and then list (display/print) differences in another shee..... More


Attached Files

.xlsx   Modele_Tiers_Exemple.xlsx (Size: 10.09 KB / Downloads: 876)
Print this item

  Mysql. Not all parameters were used in the SQL statement
Posted by: cybertooth - Oct-09-2021, 07:35 AM - Forum: General Coding Help - Replies (5)

Hi all I am getting this error" Not all parameters were used in the SQL statement" when I try to insert values in mysql database through a Tkinter GUI..... More

Print this item

Bug how can i adding custom path for saving the zip_file
Posted by: demonvictor - Oct-09-2021, 07:28 AM - Forum: General Coding Help - Replies (1)

I am creating a zip file using the zipfile module.It works like a charm. but thats file, saved in the executed script place.
my script path is a:
[b..... More

Print this item

  rows from sql query need to write to a file as columns
Posted by: sjcsvatt - Oct-08-2021, 09:09 PM - Forum: General Coding Help - Replies (6)

I have a query that may have dynamic number of columns. I have include 2 columns for testing purpose. whenever they added fields to the table the numb..... More

Print this item

  what if __getattr__() can't find an attribute, either?
Posted by: Skaperen - Oct-08-2021, 07:19 PM - Forum: General Coding Help - Replies (1)

what if __getattr__() can't find an attribute, either? what should it do? return None?

Print this item

  How To Create A "Birthday Calculator" in Python?
Posted by: unigueco9 - Oct-08-2021, 02:56 PM - Forum: General Coding Help - Replies (3)

Hi, I'm relatively new to Python and I want to create a program with Python that can calculate how many days are left until your birthday. However I'm..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 3 hours ago baffa_dbt MaxTranslate Code Review
  Willing to pay for help w... Today, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Today, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
Most views
  The best Prog... 580407
  Tutorial Requ... 519480
  Web Scraping ... 442781
  Newbie with P... 386982
  New Users Int... 386492
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
MaxTranslate Today
pizofreude Today
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020