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: finallen321
» Forum threads: 38,821
» Forum posts: 176,019

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 36 Guest(s)
Google, Bing, AOL, Apple, Facebook

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

 
  How to fix this?
Posted by: DERO - May-13-2022, 06:43 PM - Forum: Homework - No Replies

Hi.
So, my question is:
When I ran the below code all values change to custom(as it should be), except for the last phrase. I wonder if anyone has a..... More

Print this item

  How to fix this?
Posted by: DERO - May-13-2022, 06:43 PM - Forum: Homework - Replies (1)

Hi.
So, my question is:
When I ran the below code all values change to custom(as it should be), except for the last phrase. I wonder if anyone has a..... More

Print this item

  Convert a string to a function
Posted by: mikepy - May-13-2022, 05:30 PM - Forum: General Coding Help - Replies (8)

Hello, is there a possibility or library to convert the following string to a function?

[code]func_str = '''def test(event, x, y, flags, data):
..... More

Print this item

  Check if a value is present in each group
Posted by: Menthix - May-13-2022, 03:42 PM - Forum: General Coding Help - Replies (8)

Hi,

I have a dataframe with two columns : an 'ID' column and a column 'V1' with different values between 1 and 3.
I'd like to mark each ID with 1..... More


Attached Files

Thumbnail(s)
   
Print this item

  Replace elements of array with elements from another array based on a third array
Posted by: Cola_Reb - May-13-2022, 01:00 PM - Forum: General Coding Help - Replies (6)

I hope I can explain my current problem in a understandable way (besides from the possible confusing title Rolleyes):

I need to replace some el..... More

Print this item

  Your p“Timeout !!!!” when I enter a known good IP address when running port scanner
Posted by: James2000k - May-13-2022, 08:55 AM - Forum: Networking - Replies (8)

Can anyone offer some assistance because i am working on this port scanner and it seems to run fine but when i sent it to another person they said the..... More

Print this item

  Tetris samples for teaching Python
Posted by: relent95 - May-13-2022, 07:40 AM - Forum: Code sharing - No Replies

I created two tetris implementations to teach Python to my sons.
Any suggestions for simplifying the logic or improving the readability are welcome...... More

Print this item

  [Solved]Help Getting Started on Scene Swapping
Posted by: Extra - May-12-2022, 11:26 PM - Forum: GUI - Replies (10)

Hello,

I have yet another question, but this one entails replacing the current screen/window with a new one when it is called.

I'm trying to ha..... More

Print this item

  Python to exe-Does it do Pip installs?
Posted by: Extra - May-12-2022, 08:12 PM - Forum: News and Discussions - Replies (1)

Hello,

I'm have a python script that currently uses PyQt5 for the GUI, and I'm wondering if I wanted to make it an exe file down the road, will it ..... More

Print this item

  [Solved]Help Passing Variables
Posted by: Extra - May-12-2022, 08:01 PM - Forum: GUI - Replies (4)

Hello,

I'm wondering how I can pass my userInputName and userInputPassword to my validate function.
I thought this was the correct way of doing ..... More

Print this item

  Split excel file and write output at specific row and set sheet position
Posted by: DSCA - May-12-2022, 07:29 PM - Forum: Data Science - No Replies

Hi All,

I have a Masterfile which I split with the help of codes. Below is the code I use for splitting the excel file based on a column.

[pyth..... More

Print this item

  Save settings
Posted by: frohr - May-12-2022, 06:50 PM - Forum: General Coding Help - Replies (3)

Hi,
I want to ask you how to save options. I have main window with charts and calculations. When I click Settings button, second window is open.

T..... More

Print this item

  Converting '1a2b3c' string to Dictionary
Posted by: PythonNoobLvl1 - May-12-2022, 05:39 PM - Forum: General Coding Help - Replies (6)

Hello, I'm currently in school for computer science, graduating next year and I've been browsing some of the leetcode problems. I was a bit dishearten..... More

Print this item

  force a program to exit ?
Posted by: Armandito - May-12-2022, 12:22 PM - Forum: General Coding Help - Replies (3)

Hello everyone!

Here is my problem: I use a Python program that communicates with a device. Sometimes (for no apparent reason) it loses connection w..... More

Print this item

  Right way to implement interfaces
Posted by: yossiy123 - May-12-2022, 08:07 AM - Forum: General Coding Help - Replies (1)

Hi all!

There is a right way to implement interfaces?
I read about ABC but I heard it going to be deprecated so I want to know if there is other w..... More

Print this item

  [ElementTree] Insert big block of HTML?
Posted by: Winfried - May-12-2022, 07:08 AM - Forum: General Coding Help - No Replies

Hello,

I have only shallow experience with XML parsers — although I'm currently dealing with HTML.

Unless I missed it, neither lxml nor ElementTree ..... More

Print this item

  [Solved]Help storing in user input from line edit
Posted by: Extra - May-12-2022, 12:32 AM - Forum: GUI - Replies (2)

Hello,

I have a Line Edit in my PyQt5 GUI and I'm wondering how I can take the input the user types in and store it into a python variable once the..... More

Print this item

  [Solved] Help with an DLL import error
Posted by: Extra - May-11-2022, 10:41 PM - Forum: GUI - Replies (4)

Hello,

I have a quick script that should let me view the GUI.
But when I run it I get this error:
[error]
from PyQt6.QtWidgets import QAppli..... More

Print this item

  [Solved]Converting .ui to .py
Posted by: Extra - May-11-2022, 09:03 PM - Forum: GUI - Replies (4)

Hello,

I used QT Designer (This one here: QT Designer Link) and I'm wondering how to c..... More

Print this item

  Link scripts from a different folder
Posted by: Extra - May-11-2022, 08:00 PM - Forum: General Coding Help - Replies (3)

Hello,

I have a folder called "Inventory system" and within the "Inventory System" folder I have 2 subfolders: "Databases" and "Functions"

The ..... More

Print this item

  Encryption program
Posted by: andrei - May-11-2022, 07:56 PM - Forum: Code sharing - Replies (1)

Hello all, I seem to be having a issue while I am decoding the following program ( encryption type ) no issue encoding it , can anybody provide some i..... More


Attached Files

.py   encoding09.py (Size: 2.11 KB / Downloads: 2)
.py   decoding01.py (Size: 2.37 KB / Downloads: 1)
Print this item

  check if element is in a list in a dictionary value
Posted by: ambrozote - May-11-2022, 04:02 PM - Forum: General Coding Help - Replies (4)

how can I check if an element is in a list in a dictionary value? for instance

how can I get this code to output "Found it"

a = "Doors"

dict ..... More

Print this item

  Loop through list of ip-addresses [SOLVED]
Posted by: AlphaInc - May-11-2022, 01:31 PM - Forum: General Coding Help - Replies (7)

Hello everybody,

I want to use a python script to check if certain ips are still online and if not, i want the system to shut down.
Therefore I ha..... More

Print this item

  what have you learned recently?
Posted by: Skaperen - May-10-2022, 10:02 PM - Forum: Bar - Replies (15)

what have you learned recently that impacts your programming in Python or anything else you regularly do?

Print this item

  Model ID error
Posted by: sshree43 - May-10-2022, 07:53 PM - Forum: General Coding Help - No Replies

Hi Expert,

I am trying to use model id for form recognizer py script. Here is my code . currently I am using endpoint url and api key and data is g..... More

Print this item

  Trying to use 2 values from excel in my script but getting error..
Posted by: cubangt - May-10-2022, 07:14 PM - Forum: General Coding Help - Replies (3)

I have a script which reads in a text/csv files and im saving a filtered version as a new file, can be seen in my last post about deleting after a cer..... More

Print this item

  How to use Thread() ?
Posted by: Frankduc - May-10-2022, 05:42 PM - Forum: General Coding Help - Replies (7)

Hello,

By any luck someone could tell me how i could fix my thread problem.

In the while loop at the begging there is a thread. Its link to a functi..... More

Print this item

  How to find link to video file from URL
Posted by: Pavel_47 - May-10-2022, 02:33 PM - Forum: Web Scraping & Web Development - Replies (38)

Hello,

There is Add-on in FireFox (Video DownloadHelper) that allows to find link to video.
For example on this page ..... More

Print this item

  Can't install FireDM tool
Posted by: Pavel_47 - May-10-2022, 01:35 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello,
Cannot install FireDM tool (downloading videos).
I used pip install FireDM as suggested here:
FireDM 2[url=https://python-forum.io/thread-37190.html]..... More


Attached Files

.txt   pip_install_log.txt (Size: 6.94 KB / Downloads: 346)
Print this item

  Acceleration to velocity
Posted by: frohr - May-10-2022, 11:10 AM - Forum: Data Science - Replies (1)

Hi,
I want to ask you if I have correct calculation of velocity fom acceleration. It is for vibration analysis.
I have ADXL1005 and I acquire data t..... More

Print this item

  [SOLVED] [Windows] Right way to prompt for directory?
Posted by: Winfried - May-10-2022, 06:08 AM - Forum: General Coding Help - Replies (4)

Hello,

On Windows, I need to loop through all .TXT files in a directory.

In a command-line script (no GUI), I can't figure out how to use the us..... More

Print this item

  Use pexpect to send user input
Posted by: alisha17 - May-10-2022, 02:40 AM - Forum: General Coding Help - No Replies

I am trying to send the user input, which is the 'ENTER' key and from the documentation looks like child.sendline() should do the job. However the f..... More

Print this item

  Rain sensor output only on change
Posted by: Pete6 - May-10-2022, 02:28 AM - Forum: General Coding Help - Replies (4)

Greeting all. First post here and a bit of a newbie to coding.

I have built a simple weather station. It samples a rain detector sensor once ever..... More

Print this item

  Secure deploy the code without providing the implementation
Posted by: mikepy - May-09-2022, 06:18 PM - Forum: Code sharing - Replies (1)

Hi fellows, how can I deploy my own library created in Python on Windows or Linux without providing the source code. The reason is that I want to use ..... More

Print this item

  [Hiring] Contract Senior Django Engineer Remote In Us at New Vertical Technologies
Posted by: djangojobs.net - May-09-2022, 04:52 PM - Forum: Jobs - No Replies

To Apply:
djangojobs.net/jobs/1119/contract-senior-django-engineer-remote-in-us-new-vertical-technologies/

About Us:

New Vertical Technologies ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 1 hour ago finallen321 finallen321 General Codin...
  Calling python from anoth... 1 hour ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 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... 580348
  Tutorial Requ... 518958
  Web Scraping ... 442768
  Newbie with P... 386947
  New Users Int... 386142
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
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today
zaathonyshulze4201 Today

User Panel Messages

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