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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,936
» Latest member: MihaiPope
» Forum threads: 38,723
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 48 Guest(s)
Applebot, Bing, AOL, AOL, Google

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
6 hours ago
» Replies: 2
» Views: 271
FAST,SECURE AND RELIABLE ...
Forum: Game Development
Last Post: MihaiPope
7 hours ago
» Replies: 0
» Views: 133
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
7 hours ago
» Replies: 10
» Views: 3,722
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,350
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 659
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,110
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 999
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,232
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,238
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,349

 
  telegram + telethon download message and foto and republish
Posted by: faustf - Oct-12-2021, 05:09 PM - Forum: General Coding Help - No Replies

hi at all , i have a little problem , sorry at al i am beginner of python and telegram and telethon sorry , i want read all message in one ch..... More

Print this item

  Issues with Shape/Reshape for CNN
Posted by: moddy10 - Oct-12-2021, 03:54 PM - Forum: Data Science - No Replies

Hello - first time poster. I did search the forum for a related issue but did not find any. I received an error message " ValueError: Shapes (10, 40) ..... More

Print this item

  How can I know the value of a field at a random point?
Posted by: player1682 - Oct-12-2021, 02:16 PM - Forum: Data Science - No Replies

Hello everyone.

I have recently been studying interpolation in python, specifically, using methods as the ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Dicom Files
Posted by: spillai - Oct-12-2021, 02:08 PM - Forum: General Coding Help - Replies (2)

Hi,
I am using the following code to read one dicom file and write the info from that file to a text file.

[python]ds=dicom.dcmread("mw_test.dcm"..... More

Print this item

  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: 416)
.py   test3_merge1and2.py (Size: 992 bytes / Downloads: 346)
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: 854)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 6 hours ago arbiel arbiel General Codin...
  FAST,SECURE AND RELIABLE ... 7 hours ago MihaiPope MihaiPope Game Developm...
  403 Error 7 hours ago CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576252
  Tutorial Requ... 497917
  Web Scraping ... 440186
  Newbie with P... 384028
  New Users Int... 366745
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MihaiPope Yesterday
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday
marineoman Yesterday

User Panel Messages

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