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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,020

Full Statistics

Online Users
There are currently 49 online users.
» 1 Member(s) | 39 Guest(s)
Apple, Bing, Facebook Dev, Google, Google Image, braillescribe

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
9 minutes ago
» Replies: 1
» Views: 15
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 97
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 249
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,073
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,907
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 148
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 85
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 154
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,298
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 118

 
  code won't advance to next statement
Posted by: MCL169 - Apr-11-2023, 07:53 PM - Forum: General Coding Help - Replies (2)

[python]
while True: # bool, True
year = input('please enter a 4-digit year: ')
digit = len(y..... More

Print this item

  Tkinter GUI question
Posted by: texan1836 - Apr-11-2023, 05:31 PM - Forum: GUI - Replies (3)

I am having trouble writing a python tkinter GUI. I am trying to create a popup window which has a grid of buttons that then returns a value. In the..... More

Print this item

  Pip lists the module but python does not find it
Posted by: Dato - Apr-11-2023, 11:20 AM - Forum: General Coding Help - Replies (2)

Hi people,

I am struggling to get a package that, supposedly, pip already installed.
the package in question is fenics. Installed with pip install..... More

Print this item

Sad extract frame from video error
Posted by: MrSonoa - Apr-11-2023, 09:15 AM - Forum: General Coding Help - No Replies

Hi and greetings , I am new to this forum. Who here really needs help from a python expert. I am a student and am currently doing a final year project..... More


Attached Files

Thumbnail(s)
       
Print this item

  How do I check if the first X characters of a string are numbers?
Posted by: FirstBornAlbratross - Apr-11-2023, 12:57 AM - Forum: General Coding Help - Replies (6)

How do I check if the first X characters of a string are numbers?

For example if someone inputs a combination of numbers and characters, how can I ..... More

Print this item

  populate a QListWidget
Posted by: devilonline - Apr-10-2023, 01:11 AM - Forum: GUI - Replies (1)

Hi

i want to populate a list widget but it always gives me this error

what can i do?

thanks

error: [quote]TypeError: addItems(self, Itera..... More

Print this item

  Pyserial Readline() conversion to array
Posted by: bprosman - Apr-09-2023, 05:00 PM - Forum: General Coding Help - Replies (1)

Dear all,

As the title already states I'd like to convert a line , read via the readline() function, I am already Googling all afternoon but cant f..... More

Print this item

  Webbrowser.open() causes errors
Posted by: ChrisOfBristol - Apr-09-2023, 04:19 PM - Forum: General Coding Help - Replies (1)

I didn't realise others could edit my posts. I am extremely uncomfortable with that.

Print this item

  Personal Project - JDR Tool Introduction (for data governance)
Posted by: ciphero - Apr-09-2023, 03:26 PM - Forum: Code sharing - No Replies

Hi,
I recently started learning Python, so I tried to write this project as an exercise. The idea of the concept is derived from the solution to the ..... More

Print this item

  I'm trying to make my Alexa/Echo dot 3 powered by ChatGPT....
Posted by: mariozio - Apr-09-2023, 02:44 PM - Forum: General Coding Help - Replies (1)

Hello.

I'm trying to make my Alexa/Echo dot 3 powered by ChatGPT. I would like to integrate ChatGPT into my Alexa / Echo dot 3. I want to have more..... More

Print this item

  Need help for script access via webdriver to an open web page in Firefox
Posted by: Clixmaster - Apr-09-2023, 10:49 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi@all,

I have the following task:

In a form in a LogIn area, keywords are to be entered one after the other into an input field with the ID "tags",..... More

Print this item

  switch case not working
Posted by: Username0089098 - Apr-09-2023, 05:01 AM - Forum: General Coding Help - Replies (1)

I am trying to read a file using a switch case and an input.




[python]while True:
choice = input("(1) Write A File\n(2) Read A File\n(3) Ap..... More

Print this item

  [Hiring] Looking for Data Sci/ML consultant to advise on a project
Posted by: pandadad123 - Apr-09-2023, 04:12 AM - Forum: Jobs - Replies (1)

Hi, I'm looking for a senior level data scientist with ML experience to advise us on a project that is in the requirements finding/discovery stage. T..... More

Print this item

  python convert multiple files to multiple lists
Posted by: MCL169 - Apr-08-2023, 10:36 PM - Forum: General Coding Help - Replies (6)

year = '1990'

filename = open('FF_abbreviated.txt')

for i in filename:
    print(i)
[output]19260701 0.09 0.22 ..... More

Print this item

  Is the following code returning a generator expression?
Posted by: quazirfan - Apr-08-2023, 07:30 PM - Forum: General Coding Help - Replies (8)

I am reading Python documentation on in operator,

Source: https://docs.python.org/3/reference/expr...operations

6.10..... More

Print this item

  restrict user input to numerical values
Posted by: MCL169 - Apr-08-2023, 04:45 PM - Forum: General Coding Help - Replies (2)

[python]while True:
year = input('please enter a 4-digit year: ')

digit = len(year)

if digit != 4 and year != int:
print("..... More

Print this item

  [SOLVED] [regex] Why isn't possible substring ignored?
Posted by: Winfried - Apr-08-2023, 01:08 PM - Forum: General Coding Help - Replies (4)

Hello,

I need to loop through a list of URLs to grab each page's title, which might contain a substring I want to ignore.

For some reason, the s..... More

Print this item

  Deitel book "Python for Programmers"
Posted by: ricardian - Apr-08-2023, 11:57 AM - Forum: General Coding Help - Replies (7)

Deitel book "Python for Programmers" page xxxv.
Command "jupyter labextension install @jupyter-widgets/jupyterlab-manager" fails with error "Jupyter..... More

Print this item

  How to verify widening conversion?
Posted by: quazirfan - Apr-08-2023, 03:54 AM - Forum: General Coding Help - Replies (1)

I am trying to understand why I can not see int to float widening in Python bytecode.

here is the code:

import dis
dis.dis("5.0 == 5")

Outpu..... More

Print this item

Bug New to coding, Using the zip() function to create Diret and getting weird results
Posted by: Shagamatula - Apr-07-2023, 11:29 PM - Forum: General Coding Help - Replies (6)

Hey guys im new to coding doing a mature student diploma, im doing my 3rd project for the course and im getting results that don’t make sense. Please ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Interpreting this code
Posted by: EmBeck87 - Apr-07-2023, 04:36 PM - Forum: Homework - Replies (4)

Hello, I have a dumb question- can someone tell me in layperson terms what this code is doing? I'm worried it is excluding the values I want 'LMU' ins..... More

Print this item

  Selenium undetected Chromedriver Bot
Posted by: Laurin0000 - Apr-07-2023, 10:20 AM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to create an bot that locates an item checks it for discount and price and then decides to clicks it or not. But the bot isnt able to loca..... More

Print this item

  when package built, requirements not installed
Posted by: sabuzaki - Apr-07-2023, 07:10 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm new to packaging, but using setup.py file. I have included this line [1] in setup.py, built the package using command [2], uploaded to t..... More

Print this item

  programming OpenOffice with External Python Project
Posted by: bobthebuilder44 - Apr-07-2023, 05:24 AM - Forum: General Coding Help - Replies (1)

I am unable to program Openoffice documents from a python project.

Here is my Python code:

[python]filename = 'somefile.ods'

import Danny.OOo..... More

Print this item

  attempt to split values from within a dataframe column
Posted by: mbrown009 - Apr-07-2023, 01:54 AM - Forum: Data Science - Replies (9)

I have the following code snippet from my script

[python]cleandata["year3paytest"] = cleandata.apply(lambda x: semiannualpayments(x["owneroccupancy..... More

Print this item

  Asyncio weird behaviour
Posted by: vugz - Apr-06-2023, 09:53 PM - Forum: General Coding Help - Replies (2)

I am having difficulties understanding the output of the following program

[python]
import asyncio

async def inner():
try:
print("Inside..... More

Print this item

  SSLContext for mTLS
Posted by: vshaik - Apr-05-2023, 07:58 PM - Forum: General Coding Help - No Replies

Hello,

I need to sign my http request using a cert and a key.

[python]ctx = ssl.create_default_context()
ctx.load_cert_chain(certfile="C:/tes..... More

Print this item

  Sum up Time difference
Posted by: tester_V - Apr-05-2023, 05:15 AM - Forum: General Coding Help - Replies (10)

Greetings!
I’m calculating the time difference between some start and finish time stamps and need to sum up the outcome for each file.
Here is a sni..... More

Print this item

  Math python question
Posted by: Deonvek - Apr-05-2023, 02:04 AM - Forum: General Coding Help - Replies (6)

But the highlight of my blog post was definitely my collection of anal sex sites. From big-name production studios to independent creators, I had it a..... More

Print this item

  Using log to calculate difference
Posted by: EmBeck87 - Apr-04-2023, 07:56 PM - Forum: General Coding Help - Replies (1)

Hello, I have some code for diluting the difference between results using numpy.log. It goes like:

df[new value]=(np.log(df[values1]-nplog(df[values2..... More

Print this item

  Strange issue with tkcalendar
Posted by: dady - Apr-04-2023, 07:46 PM - Forum: General Coding Help - Replies (1)

Hi all,

Like it says in the subject i have a strange issue with tkcalendar.

I have this line of code on script 1.py:

[python]result = subproc..... More

Print this item

Question Responding correctly to HTTP request
Posted by: Calab - Apr-04-2023, 07:03 PM - Forum: Web Scraping & Web Development - Replies (2)

I have a Linux host that is running Apache. I am able to execute my Python 3 scripts on that host using a web request.

My problem is that I don't ..... More

Print this item

  How to add list to dictionary?
Posted by: Kull_Khan - Apr-03-2023, 07:08 PM - Forum: General Coding Help - Replies (3)

Hey, how would I add a nested list to a dictionary based on the dictionary key and list element. Say the dictionary represented the columns of a datas..... More

Print this item

  Sum of changing general term
Posted by: Vantin19 - Apr-03-2023, 06:58 PM - Forum: General Coding Help - Replies (2)

Good evening everyone,
I want to compute every possible result of this sum:

\[ v= \sum_{k=1}^j 9 + \sum_{k=1}^{10-j} \delta(v_k) = 2\cdot 40 \te..... More


Attached Files

Thumbnail(s)
   
Print this item

Question Extracting Version Number from a String
Posted by: britesc - Apr-03-2023, 05:45 PM - Forum: General Coding Help - Replies (2)

Hi,
I would like to be able to extract the version number (nimbers and ,) from a string.
I can get the result but only if I use 1 type of delimeter..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 9 minutes ago braillescribe noisefloor General Codin...
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 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...
Most views
  The best Prog... 580381
  Tutorial Requ... 519215
  Web Scraping ... 442773
  Newbie with P... 386957
  New Users Int... 386322
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
braillescribe Today
aurelio12282025 Today
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today

User Panel Messages

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