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,934
» Latest member: alexguemez
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

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

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
8 hours ago
» Replies: 9
» Views: 2,773
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,195
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 207
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 540
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,702
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 642
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 225
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,172
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,394
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 1,055

 
  run out of memory
Posted by: Ali_ - Apr-15-2022, 08:11 AM - Forum: General Coding Help - Replies (1)

Hello!
I am working on jupyter and without noticing I must have have done something that kept running for a while. Now I can't open this file because..... More

Print this item

  webautomation with an API
Posted by: Fre3k - Apr-15-2022, 07:17 AM - Forum: Web Scraping & Web Development - Replies (1)

Good morning,

I'll just come straight up to my question.

Does webautomation (especially for automation in browsergames) properly work with an AP..... More

Print this item

  Background inactivity timer when tkinter window is not active
Posted by: DBox - Apr-14-2022, 06:26 PM - Forum: GUI - Replies (4)

I'm having trouble getting a timer (loop or anything) running when the tkinter window is withdrawn or not on top of other windows. The functionality o..... More

Print this item

  Installing Qt for Python. (On Windows 10)
Posted by: davediamond - Apr-14-2022, 05:06 PM - Forum: General Coding Help - Replies (22)

https://doc.qt.io/qtforpython/quickstart.html

The problem I'm having is with the following shell command :

[python]env\Scripts\activate.bat[/pyt..... More

Print this item

  How does this code work?
Posted by: pd_minh12 - Apr-14-2022, 03:24 PM - Forum: General Coding Help - Replies (3)

[python]readfile1 = open("file.txt", "r")
f = readfile1.readlines()

newList = []

for line in f:
newList.append(line.strip())

print(newLis..... More

Print this item

  Pandas module not working
Posted by: Hass - Apr-14-2022, 11:43 AM - Forum: General Coding Help - Replies (2)

Hi All,

I recently got a new computer I installed python v 3.10 and am using the pycharm IDE.

I have installed pandas but it is not working.

..... More

Print this item

  New to python, trying to make a basic calculator
Posted by: AthertonH - Apr-14-2022, 09:52 AM - Forum: General Coding Help - Replies (2)

Hey, so I've got this piece of code that I put together that is pretty simple. However, when I execute the code it executes all the if statements inst..... More

Print this item

  New to python, question regarding PEP8
Posted by: AthertonH - Apr-13-2022, 11:40 PM - Forum: General Coding Help - Replies (3)

[code]definitions = {
"For loops": "For loops allow you to run a block of code repeatedly, just like while loops. However, for loops run "
..... More

Print this item

  Numpy error while filling up matrix with Characters
Posted by: august - Apr-13-2022, 09:07 PM - Forum: General Coding Help - Replies (4)

I'm new to numpy. I've a string of characters. I'm truncating it one character at a time till only one character is left.
Then I'm trying to fill up ..... More

Print this item

  Qt Designer : help document viewer error.
Posted by: davediamond - Apr-13-2022, 06:05 PM - Forum: GUI - Replies (2)

The following alert is shown in Qt Designer when I click 'help'. As you can see it's using Linux symbols AND Windows symbols when reporting the error...... More

Print this item

  Transform Dic to dataframe
Posted by: d9d9d - Apr-13-2022, 06:02 PM - Forum: General Coding Help - Replies (4)

I am trying to transform this kind of dic to classic dataframe.

list = [
{
"Fruit": [{"XY": 15.2,22,22 },
{"XX": 19,..... More

Print this item

  Formating generated .data file to XML
Posted by: malcoverc - Apr-13-2022, 05:04 PM - Forum: General Coding Help - Replies (3)

I have some generated data files I want to format to XML:

[python] 1234=>item1:something11:

something11<COMMA>item4:something12:
..... More

Print this item

  How to fix list index out of range
Posted by: longmen - Apr-13-2022, 02:28 AM - Forum: Homework - Replies (26)

Hi everyone, so when I ran the below code I ran into this problem and I wonder if anyone has advice on how to fix it? Any advice would be very appreci..... More

Print this item

  GUI Opens Minimized
Posted by: gw1500se - Apr-12-2022, 05:39 PM - Forum: GUI - Replies (24)

I have migrated a script that was running on Windows 7 to 10. Since the migration the Tkinter window is opening minimized (python 3.10.4) while that w..... More

Print this item

  Help Needed playing MP3s
Posted by: bill_z - Apr-12-2022, 05:07 PM - Forum: General Coding Help - Replies (2)

Newish guy here wanting to use a headless RPi3B running MXRPi to play a list of MP3s randomly. This will be my first attempt to play MP3s using RPi a..... More

Print this item

Question How to convert string to variable?
Posted by: chatguy - Apr-12-2022, 04:54 PM - Forum: General Coding Help - Replies (5)

Hi all,

I've had a hard time searching for this answer (Google suggests something different than I'm looking for).

VERY early in my code, I hav..... More

Print this item

  MSSQL query not working in Python
Posted by: kat35601 - Apr-12-2022, 04:21 PM - Forum: General Coding Help - No Replies

the MSSQL Query works just fine by its self in SQL Studio and if I remove
this line [python]and ompRequestedShipDate >=getdate() and ompRequestedShip..... More

Print this item

  Does anyone want to collaborate on a small project?
Posted by: davediamond - Apr-12-2022, 03:47 PM - Forum: Jobs - Replies (1)

Hello.

I'm just starting to produce a design document for a new project. It's got about 4 windows, and has a GUI. I plan on using pyQT, and it's ac..... More

Print this item

  Modify values in XML file by data from text file (without parsing)
Posted by: Paqqno - Apr-12-2022, 03:06 PM - Forum: General Coding Help - Replies (2)

Hi, I have 2 types of files - one is base XML file where are some attribute values = "FAIL" and i the other file - text file where are values I want t..... More

Print this item

  Crate Loop into os file
Posted by: paulo79 - Apr-12-2022, 12:20 PM - Forum: General Coding Help - No Replies

Hi all, I have this shell script that goes to a loop on file lines:

[python]for dDames in cat /tmp/Dnames
do
#echo $dgname
for FNames in ..... More

Print this item

  Is Python Support Graphical User Interface?
Posted by: ankitdixit - Apr-12-2022, 10:02 AM - Forum: News and Discussions - Replies (4)

Hello Everyone, I am working on a freelance project and I am new to python. I want to know, Is python support GUI? I have checked on google and found ..... More

Print this item

Photo How to create Conditionals for XPATH/BS4 tag scrapes?
Posted by: BrandonKastning - Apr-12-2022, 06:01 AM - Forum: Web Scraping & Web Development - Replies (1)

How to create Conditionals for XPATH/BS4 tag scrapes?

I am working on my program which is parsing json files; then performs a remote url re..... More

Print this item

  How to change input data set for character recognition program?
Posted by: plumberpy - Apr-12-2022, 03:03 AM - Forum: Data Science - Replies (5)

I am new to Python and machine learning. Trying to learn by working on tested examples. Tried the character recognition program (from Chollet) using M..... More

Print this item

  Pass variable to subprocess
Posted by: paulo79 - Apr-11-2022, 11:36 PM - Forum: General Coding Help - Replies (4)

Hi all,

I want to pass a variable to this command :
[python]
VARIABLE=12
v_num_final_distinct_grid_disks_per_cell_and_dg = subprocess.check_out..... More

Print this item

  'Your first program' type question, be kind
Posted by: davediamond - Apr-11-2022, 08:11 PM - Forum: GUI - No Replies

Hello there! I'm a former programmer, who's dipping his toes in the water again. This time, instead of VB 6, I'm using the Python language. It's free,..... More

Print this item

  web scraping for new additions/modifed website?
Posted by: kingoman123 - Apr-11-2022, 07:16 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi,

Is it possible to do a webscrape on a website and see the new add on's with link?

I'm here talking about if someone changes an image or adds..... More

Print this item

  from MSSQL to excel
Posted by: kat35601 - Apr-11-2022, 06:03 PM - Forum: General Coding Help - Replies (1)

I need to create some reports in excel using Python from a MSSQL server query. I do get a file in excel format that has the data I ask for but I also..... More

Print this item

  Can a module tell where it is being imported from?
Posted by: stevendaprano - Apr-11-2022, 05:42 PM - Forum: General Coding Help - Replies (3)

Say I have a module, "sneaky.py". The first time sneaky is imported, the body of the module runs. (On subsequent imports, [inline]sne..... More

Print this item

  Decimal context
Posted by: stevendaprano - Apr-11-2022, 05:03 PM - Forum: General Coding Help - Replies (1)

The decimal module has a current context which defines the settings u..... More

Print this item

  undetected_chromedriver on Pi
Posted by: klaarnou - Apr-11-2022, 04:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I have undetected_chromedriver running on windows, works great.
Would like to move my program to my Pi server.

Problem is that I cannot..... More

Print this item

  pip error on Ubuntu 18.04.6 LTS
Posted by: silbro - Apr-11-2022, 03:47 PM - Forum: General Coding Help - Replies (4)

Hi all

I've already searched so many places for a hint to where my problem with pip could be. I also made a post by ubuntu but haven't gotten an an..... More

Print this item

  execute commands inside a running application
Posted by: mr_byte31 - Apr-11-2022, 12:47 PM - Forum: General Coding Help - Replies (3)

I have an application that execute AT commands on certain device via USB.

First I have to open Terminal, run the application via command line then ..... More

Print this item

  QPixmap not updating in QGraphicsScene after using QPainter on it
Posted by: Leo_Red - Apr-11-2022, 12:26 PM - Forum: GUI - Replies (1)

I created a custom widget modifies QPixmap which just adds QPianter drawing function to the widget.

[python]from PySide2.QtGui import QPixmap
from..... More

Print this item

Sad Check if a given string has its open brackets closed by the same type of brackets?
Posted by: noahverner1995 - Apr-11-2022, 12:18 PM - Forum: Homework - Replies (1)

I hope not to sound very weird here, basically, suppose that you have the following strings:

[python] s1 = '{[]}'

s2 = '[(])'

s3 =..... More

Print this item

  Progress bar
Posted by: bnadir55 - Apr-11-2022, 11:32 AM - Forum: General Coding Help - Replies (1)

Hello,
is there a way to show the progress bar using PySimpleGUI, while the script is running, no use with a for loop in the script, just showing th..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 8 hours ago CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 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
  Seeking feedback: dynamic... 09-15, 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... 575957
  Tutorial Requ... 497352
  Web Scraping ... 439928
  Newbie with P... 383669
  New Users Int... 366069
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday
XenonBlack 09-16
Lenowell 09-16

User Panel Messages

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