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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 48 online users.
» 1 Member(s) | 42 Guest(s)
Bing, AOL, Apple, Google, snippsat

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 4
» Views: 118
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 100
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 73
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 112
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,100
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,366
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,559
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 189
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,199
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,444

 
  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: 343)
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

  How to solve pancake flip with Python
Posted by: longmen - May-09-2022, 03:23 PM - Forum: Homework - Replies (5)

Hi I wonder if anyone could help me with this issue. So I am doing the pancake flip and I am trying to get the end result as

[python]
1b2w3b4b| g..... More

Print this item

  "SSL: CERTIFICATE_VERIFY_FAILED” error on Python 3.9.6 (Windows 10)
Posted by: rcmv - May-09-2022, 02:29 PM - Forum: General Coding Help - Replies (4)

Hi!
I’m new with Python and I have been following some tutorials and based on one of them I have the following piece of code:

[python]from scrapy ..... More

Print this item

  NLP: exercise with Stanza
Posted by: xinyulon - May-09-2022, 08:44 AM - Forum: General Coding Help - Replies (2)

Here is the question:

Get sentences from Stanza Document objects.


The directory data contains a file na..... More

Print this item

  "Vlookup" in pandas dataframe
Posted by: doug2019 - May-08-2022, 11:42 PM - Forum: General Coding Help - Replies (3)

Hi! How can I find a value in a column and return it from another column, like a vlookup? Below is an example dataframe.

[python]import pandas as ..... More

Print this item

  Error: _vhstack_dispatcher() takes 1 positional argument but 9 were given
Posted by: alexfrol86 - May-08-2022, 10:23 PM - Forum: General Coding Help - Replies (3)

Hi!

I have a system of 10 nonlinear ODE with 10 variables (y[0], y[1], ... y[9]), there are 10 initial conditions for y[i] for x=0 and 4 conditions..... More

Print this item

  Please help NLP: Stanza
Posted by: xinyulon - May-08-2022, 09:50 PM - Forum: Homework - No Replies

Here is the question:

The directory data contains 10 articles from the Estonian Wikipedia, whose filenames follow the pattern et_wik..... More

Print this item

  Upgrading from 2 to 3 and having file write problems
Posted by: KenHorse - May-08-2022, 08:58 PM - Forum: General Coding Help - Replies (2)

[python]#!/usr/bin/python

import serial, time, sys, fileinput

#open and configure serial port
ser = serial.Serial(
port='/dev/ttyUSB0',
bau..... More

Print this item

  Replicate Excel operations with Python
Posted by: Lumberjack - May-08-2022, 04:03 PM - Forum: General Coding Help - Replies (3)

EDIT: Second post features the latest updates

I have this Excel file where I track two products A and B and their weekly differences compared to thei..... More


Attached Files

.xlsx   Delta.xlsx (Size: 10.26 KB / Downloads: 339)
Print this item

  Correct the algorithm of image filter code
Posted by: saoko - May-08-2022, 11:10 AM - Forum: General Coding Help - Replies (6)

Hi everyone. I'm new in python. Now I'm trying to write an image filter, according to the next algorithm:
[img]https://i.stack.imgur.com/xn4U8.jpg[/i..... More

Print this item

  PyQT5 - align left
Posted by: frohr - May-07-2022, 04:54 PM - Forum: General Coding Help - Replies (7)

Hi, I am stuck on very stupid thing.
I need align items left and width must be according text length and for line_edit fixed length.
Thank for any..... More

Print this item

  Help with subtracting values using SQLite & Python
Posted by: Extra - May-07-2022, 03:25 PM - Forum: General Coding Help - Replies (10)

Hello,

I made an inventory system using SQLite and Python. I'm working on a 'checkoutInventory()' function that let's a user add items to a cart a..... More

Print this item

  Python modules for accessing the configuration of relevant paths
Posted by: Imago - May-07-2022, 01:26 PM - Forum: General Coding Help - Replies (1)

Below I have the files **main.py**, **train.py** and **dataLoader.py**. The purpose of path.py is to contain relevant paths inside my project. These p..... More

Print this item

  Emoji Dictionary Help
Posted by: rewainy - May-07-2022, 08:49 AM - Forum: General Coding Help - Replies (5)

Hello,

So I am trying to replace words from the sentence input by the relevant emoji from this dictionary. In the end i would like to reprint the s..... More

Print this item

  df column mean and count of unique
Posted by: SriRajesh - May-07-2022, 08:19 AM - Forum: General Coding Help - No Replies

Ji,
I have below df, and I want to group by coulmn2,column3 and calculate mean of other columns and unique count.

[python]df:
col1 col2 col3 c..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 9 hours ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578699
  Tutorial Requ... 509190
  Web Scraping ... 441846
  Newbie with P... 385798
  New Users Int... 375100
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
lary_p Today
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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