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,389
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 1
» Views: 44
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
8 hours ago
» Replies: 9
» Views: 224
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,061
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,890
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 136
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 79
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 143
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,294
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 104
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 755

 
  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

  Blockchain lesson
Posted by: ChopperChups - Apr-11-2022, 09:40 AM - Forum: Homework - No Replies

Hello together, today im coming with a special kind of homework. We building a own blockchain on a webserver of my university and i need some help or..... More

Print this item

  comparison
Posted by: menator01 - Apr-10-2022, 09:48 PM - Forum: General Coding Help - Replies (3)

Giving the example below I know I can use a for loop to reach the name but, was wondering if there is a way to reach it in a one liner? Obviously the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 6 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... 8 hours ago eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 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...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580357
  Tutorial Requ... 519026
  Web Scraping ... 442769
  Newbie with P... 386950
  New Users Int... 386213
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
atalieyandext4063 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday
zashleyfracesz3221 Yesterday
itx_sumeet Yesterday

User Panel Messages

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