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,933
» Latest member: tobey12
» Forum threads: 38,722
» Forum posts: 175,502

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 40 Guest(s)
Bing, Google, Internet Archive, AOL, Applebot, AOL, Mojeek, kshahzad1985

Latest Threads
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
1 hour ago
» Replies: 0
» Views: 9
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
2 hours ago
» Replies: 0
» Views: 17
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
6 hours ago
» Replies: 1
» Views: 349
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,351
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,464
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 291
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 98
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,814
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,064
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 750

 
  PyQt5 graphics question
Posted by: HeinKurz - Jan-17-2023, 01:54 PM - Forum: GUI - Replies (5)

Hi!
Below my first Python PyQt5 app. Cool
So far it works perfectly.
But what I do in paintEvent is to load the background image every time ..... More

Print this item

  PIL ImageTk issue with MATPLOTLIB
Posted by: garynewport - Jan-17-2023, 11:32 AM - Forum: General Coding Help - No Replies

I am trying to run my program on a Linux unit, knowing that the code works on OSx and Windows.

I keep encountering the same issue, which relates to..... More

Print this item

  azure TTS from text files to mp3s
Posted by: mutantGOD - Jan-16-2023, 03:42 PM - Forum: General Coding Help - Replies (2)

Experiencing a problem with the sound files generated by the program, and that they are coming out as corrupted or not working properly.

I am havin..... More

Print this item

  automate new PDF creation with Bookmarks Based up Regex
Posted by: standenman - Jan-16-2023, 03:19 PM - Forum: General Coding Help - No Replies

I am seeking to create some functionality to recasting a PDF file of medical records. The date of treatment or visit is very important and I will lik..... More

Print this item

  Set string in custom format
Posted by: korenron - Jan-16-2023, 12:26 PM - Forum: General Coding Help - Replies (4)

Hello,
wanted to know how can I do the following :

I have a function the return 8 digits(as string)

12345678
I want to return..... More

Print this item

  Question on dir() function
Posted by: Soorya25 - Jan-16-2023, 11:55 AM - Forum: General Coding Help - Replies (1)

I have the following code which uses dir() function.

Want to know why dir() function is used here.
[img]https://appdividend.com/wp-content/uploads..... More


Attached Files

Thumbnail(s)
   
Print this item

  Very simple question about filenames and backslashes!
Posted by: garynewport - Jan-16-2023, 11:38 AM - Forum: General Coding Help - Replies (4)

I have a string of a filename, that contains the entire path.

I want to remove the file extension and capture only the filename.

I have reversed..... More

Print this item

  Retrieve website content using Python?
Posted by: Vadanane - Jan-16-2023, 09:13 AM - Forum: Web Scraping & Web Development - Replies (1)

If it helps, I'm using Python version 3.1.

This site has good users, and I'm sure you can help me. Anyway, I am trying to access the content..... More

Print this item

  Extracting tables and text above the table from a PDF to CSV
Posted by: DivAsh - Jan-16-2023, 08:03 AM - Forum: Data Science - Replies (3)

Hi

I have a PDF file from where i need to extract all the tables and also the text above the tables and output the results to a csv file.By using t..... More


Attached Files

.pdf   Input.pdf (Size: 52.29 KB / Downloads: 7)
Print this item

  wxPython install error
Posted by: carlomscalisi - Jan-16-2023, 12:49 AM - Forum: General Coding Help - Replies (3)

Complete Rookie, seriously.

I am attempting to install wxPython via pip on my Mac, running Mojave 10.14.6, but it's not working. Any help would be..... More


Attached Files

.pdf   Terminal Output.pdf (Size: 67.79 KB / Downloads: 419)
Print this item

  How to convert .trc/.txt file into excel using python
Posted by: ebola - Jan-15-2023, 09:46 PM - Forum: Homework - Replies (3)

I want to convert .trc file (image 1) into excel(image 2). Once it is converted to excel I want a command prompt to open up asking 'Select the model t..... More


Attached Files

Thumbnail(s)
           
Print this item

  Pygame Snake Game Help Please
Posted by: Beginnerprogrammer6 - Jan-15-2023, 09:45 PM - Forum: Homework - No Replies

My computer science assignment is creating a snake game using pygame and I have to use images for my sprites. I don't know how to move the images of t..... More

Print this item

  how do I fix an index error?
Posted by: MehHz2526 - Jan-15-2023, 08:01 PM - Forum: Homework - Replies (1)

I know what an index error is, but all my variables are numbered correctly from 0 to 5 but I still have an index error. I think that the main problem ..... More

Print this item

  Syntax error? I don't see it
Posted by: KenHorse - Jan-15-2023, 06:35 PM - Forum: General Coding Help - Replies (4)

Python 3.9.2

I keep getting a syntax error and for the life of me, I don't see it:

[quote]root@piZERO:~/bin# ./npwAgent.py
File "/root/bin/np..... More

Print this item

  Is there a way to determine if a radio button has been selected?
Posted by: TWB - Jan-15-2023, 04:11 PM - Forum: GUI - Replies (5)

Hello, as Im now to Python any help is appreciated
My goal is to determine if a radio button has been selected, to help troubleshoot I have created a..... More

Print this item

  Weird behaviour using if statement in python 3.10.8
Posted by: mikepy - Jan-15-2023, 02:57 PM - Forum: General Coding Help - Replies (23)

Hello, can someone explain me this wired behavior? At the if statement which you can see in the screenshot, despite if 1==2 (for test only) is false, ..... More

Print this item

  try catch not working?
Posted by: korenron - Jan-15-2023, 01:29 PM - Forum: General Coding Help - Replies (2)

Hello,
I have this code for checking modem connection

[python]import os
import sys
import time
import datetime
import requests
import thread..... More

Print this item

  compare and find the nearest element ?
Posted by: mr_gentle_sausage - Jan-14-2023, 09:32 PM - Forum: General Coding Help - Replies (4)

hello,
I need a little help, I have a list (element has 2 elements(X and Y)), and I need to find, in this list, which element is the nearest of my mo..... More

Print this item

  Where's my .py file?
Posted by: hansemso - Jan-13-2023, 10:40 PM - Forum: General Coding Help - Replies (1)

Hi. Newbie here. I installed pycharm, got the sympy extension. I made a file called "Newton's_Method_2" and put it in a pythonProject1 folder I mad..... More

Print this item

  Question about Creating an Automated Process in Python
Posted by: Supratik1234 - Jan-13-2023, 08:29 PM - Forum: General Coding Help - No Replies

Hi everyone, I am very new to Python so I don't know a lot about coding whatsoever but I am a part of a research group involved in ab initio md. For t..... More


Attached Files

.py   OHNWCHEM.py (Size: 1.49 KB / Downloads: 224)
Print this item

  self.pos().x() and self.pos().x() always return -3,-30 on PyQT5
Posted by: DrakeSoft - Jan-13-2023, 02:31 PM - Forum: GUI - Replies (3)

Hi,

I am using the code below to experiment with window size and psoition.
I notice that irrespective of where I move the window self.pos().x() an..... More

Print this item

  excel lookups
Posted by: Deephect - Jan-13-2023, 12:46 PM - Forum: General Coding Help - No Replies

I have two excel sheets in the same book, each row contains a lookup value from sheet2.
Sheet2 contains lookups and all lookup values, Sheet1 contai..... More

Print this item

  Python SSL web page scraping
Posted by: Vadanane - Jan-13-2023, 09:34 AM - Forum: General Coding Help - Replies (1)

I'm using Python 2.7 with BeautifulSoup to scrape web pages, but I keep running across protocol errors that don't make much sense to me. This only occ..... More

Print this item

  launching executables
Posted by: DPaul - Jan-13-2023, 07:31 AM - Forum: General Coding Help - Replies (6)

Hi,
I have an executable. Users click on it (or an icon) and do research.
One user however starts inadvertently many instances of the exe,
and one ..... More

Print this item

  super lightweight (only 35 lines) dependency injection (ioc) support for Python
Posted by: kenttong - Jan-13-2023, 04:30 AM - Forum: Code sharing - Replies (5)

Hi,

A super simple and risk-free way to do dependency injection (ioc) in Python. The entire code base is only 35 lines (empty lines included). No n..... More

Print this item

  Newbie here. Create an array from file data?
Posted by: Rayj00 - Jan-13-2023, 12:37 AM - Forum: Homework - Replies (2)

I'm brand new with python. I have a file with integers like this:

2 5 8 12 20
3 12 15 18 29
etc,
etc,
etc,
.
.
etc.

I need to get them ..... More

Print this item

  "Name is not defined" when running a class
Posted by: lil_e - Jan-12-2023, 11:10 PM - Forum: General Coding Help - Replies (6)

Hi. I'm a beginner trying to figure out why my code won't work. I'm pretty sure it's a minor detail, but I tried several time, but cannot find out why..... More

Print this item

  Positive integral solutions for Linear Diophantine Equation
Posted by: august - Jan-12-2023, 10:09 PM - Forum: General Coding Help - Replies (4)

Hello All,

Say I want to find all POSITIVE INTEGRAL solutions for a,b for this linear equation:
a + 2b = 5 and the solutions ..... More

Print this item

  [split] Explain the python code in this definition
Posted by: Led_Zeppelin - Jan-12-2023, 09:07 PM - Forum: General Coding Help - Replies (1)

I have a vector of real numbers. They are the feature importance in a machine learning experiment. One importance for each sensor.

Obviously, they ..... More

Print this item

  [split] Explain the python code in this definition
Posted by: Led_Zeppelin - Jan-12-2023, 08:54 PM - Forum: Board - Replies (2)

I am sorry to bother anyone for this, but I am stuck. I have to make a new post. I do not remember how to do it.

I have not used the forum since la..... More

Print this item

  Sprites just randomly appear and dissapear in my pygame.sprite.GoupeSingle
Posted by: trueShadoWrr - Jan-12-2023, 08:28 PM - Forum: Game Development - Replies (2)

I am programming my first "real" game in pygame and now I ran into a Problem.

So I am trying to program the mainmenu of a game and it is already wo..... More

Print this item

  Python VS Code: using print command twice but not getting output from terminal
Posted by: kdx264 - Jan-12-2023, 07:33 PM - Forum: General Coding Help - Replies (4)

Hi, I have autism and am brand new to Python. I am trying to output these two print statements I wrote in my code to see the sum of a, b, and c as wel..... More


Attached Files

Thumbnail(s)
   
Print this item

  C Extension module
Posted by: lamer - Jan-12-2023, 02:41 PM - Forum: General Coding Help - Replies (1)

Hello I wrote simple c extension module and assembled it with visual studio everything works
When i try to assemble it with mingw i am getting issue ..... More

Print this item

  How to work with list
Posted by: kafka_trial - Jan-12-2023, 11:24 AM - Forum: General Coding Help - Replies (8)

Hi all,
I am new to Python. I am doing an application. the application takes 20 names of individuals then prompts user to input out of 20 individual..... More

Print this item

  cannot update PIP
Posted by: tester_V - Jan-12-2023, 04:03 AM - Forum: General Coding Help - Replies (1)

Good evening!
I tried to search the forum for 'failing to upgrade PIP', but found nothing, probably searching in the wrong place...
Got a new work c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Reliable Is Assignmen... 1 hour ago tobey12 tobey12 News and Disc...
  Expert Guidance Made Easy... 2 hours ago Alex12 Alex12 General Codin...
  Another app idea - intera... 6 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 575789
  Tutorial Requ... 497028
  Web Scraping ... 439799
  Newbie with P... 383492
  New Users Int... 365296
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
tobey12 Today
Alex12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday

User Panel Messages

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