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: winchestersam
» Forum threads: 38,722
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 40 Guest(s)
Bing, AOL, Twitter, Google, AOL

Latest Threads
Recovery of my lost solan...
Forum: General Coding Help
Last Post: winchestersam
1 hour ago
» Replies: 0
» Views: 9
LOST OF INVESTMENT SCAM
Forum: News and Discussions
Last Post: goodvicent
2 hours ago
» Replies: 0
» Views: 7
Too much space between gr...
Forum: GUI
Last Post: deanhystad
5 hours ago
» Replies: 3
» Views: 917
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Yesterday, 07:07 AM
» Replies: 1
» Views: 362
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-15-2025, 08:58 PM
» Replies: 8
» Views: 2,512
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,551
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 434
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 136
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 2,941
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,189

 
  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

  find random numbers that are = to the first 2 number of a list.
Posted by: Frankduc - Apr-03-2023, 01:58 PM - Forum: General Coding Help - Replies (23)

Hello,

I have a list. start_list = [1,2] and a random_list[]

My goal is to find 4 random numbers where the 2 first numbers are the same as my st..... More

Print this item

  Flask: sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database is locked
Posted by: pythonpaul32 - Apr-03-2023, 01:02 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,

I am trying to update a database table and I keep getting this error:

'sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) database ..... More

Print this item

  Word documents merging
Posted by: crewdk - Apr-02-2023, 09:49 PM - Forum: General Coding Help - Replies (1)

Hi,

I have a task: I have an XLSX document with data such as name, surname, class, school ID, etc. I also have a template for the Certificate of Ap..... More


Attached Files

Thumbnail(s)
       
Print this item

  Can someone please help?
Posted by: SuchUmami - Apr-02-2023, 11:26 AM - Forum: General Coding Help - Replies (1)

Hello,

I am a day trader and I have been trying to automate my strategy through python. Unfortunately last year I lost a lot of money from the FTX ..... More

Print this item

  math formula does not give the same result as bash script [SOLVED]
Posted by: AlphaInc - Apr-02-2023, 09:37 AM - Forum: General Coding Help - Replies (3)

Hello everybody,

I was working on a script which gets the current date of the islamic calendar. I know there is a pip-module which converts a Georg..... More

Print this item

  Using list comprehension with 'yield' in function
Posted by: tester_V - Apr-02-2023, 05:25 AM - Forum: General Coding Help - Replies (5)

Greetings!
I'm trying to speed up my script and I thought I'll use List Comprehensions in a Function.
[python] from pathlib import Path
some_dir = ..... More

Print this item

  Web scraper not populating .txt with scraped data
Posted by: BlackHeart - Apr-01-2023, 07:08 PM - Forum: Web Scraping & Web Development - Replies (5)

Hey everyone,

I was wondering if I could get you guys to help me out a little. I'm attempting to make a web scraper to scrape a site for some strin..... More

Print this item

  Can we use Python 4's end keyword in Python 2.7?
Posted by: mqnc - Apr-01-2023, 01:39 PM - Forum: General Coding Help - Replies (4)

Because of my ancient animation pipeline, I am stuck with python 2.7. I saw that python 4 will have an end keyword which can already be used in python..... More

Print this item

  Is it Possible to pause a script?
Posted by: tester_V - Mar-31-2023, 09:58 PM - Forum: General Coding Help - Replies (6)

Greetings!
I was wondering if it is possible to pause a Python script when it is running.
Ctrl+C aborts a script,
Is there anything I can do to p..... More

Print this item

  Code for pullng all data in a column
Posted by: EmBeck87 - Mar-31-2023, 09:19 PM - Forum: General Coding Help - Replies (5)

Hi all, could someone suggest some code for pulling all the data from one column in a dataframe that was pulled in? I have tried a couple different co..... More

Print this item

  Why is the program not running? Is there a logical or syntax problem?
Posted by: behi00 - Mar-31-2023, 08:43 PM - Forum: GUI - Replies (10)

Hello, I am an amateur programmer.
I wanted to know if my codes are correct?
And why is it not implemented?
Meanwhile, I wrote this program in t..... More

Print this item

  How should I run pip-date in python3?
Posted by: newbieAuggie2019 - Mar-31-2023, 08:49 AM - Forum: General Coding Help - Replies (5)

Hello once again!

I keep trying to see the date of the installation of my modules in python3.

I installed for that task even one more module ca..... More

Print this item

  How to see the date of installation of python modules.
Posted by: newbieAuggie2019 - Mar-31-2023, 08:27 AM - Forum: General Coding Help - Replies (4)

Hi again!

As my knowledge is still very very limited, I learn mostly by imitating code and then later on, I expand it or manipulate it, till I get ..... More

Print this item

  Getting names from object dot-syntax acess
Posted by: pedropessoa - Mar-30-2023, 06:51 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm trying to create a object which can use the names provided by python-dot-syntax.
I would use these names as a path to lookup for data in ..... More

Print this item

Question If, elif, and else statement not working
Posted by: PickleScripts - Mar-30-2023, 02:34 PM - Forum: General Coding Help - Replies (3)

#Whenever I put something in for the input it always says "That's Good!"
[python]
import time
user_action = "user"

print ("wassup")
time.sleep ..... More

Print this item

  Comparing PDFs
Posted by: CaseCRS - Mar-30-2023, 12:27 PM - Forum: General Coding Help - Replies (5)

Hi there,
I want to start off by saying I have 0 experience with coding and am more asking for to see if this would be possible.

I want to creat..... More

Print this item

  Converted EXE file size is too large
Posted by: Rajasekaran - Mar-30-2023, 11:50 AM - Forum: General Coding Help - No Replies

I have converted the python script to exe format using the below command, but the exe file size is too large. So when executing the exe file, it is ta..... More

Print this item

Lightbulb Display moving pictures on E-ink screen
Posted by: Fandrew - Mar-30-2023, 12:07 AM - Forum: Homework - Replies (1)

I work on a project in university and I'm relatively beginnner in python for this part of the project, but I really want to help. We using a program t..... More

Print this item

  Why isn't printing?
Posted by: SpookyStuff - Mar-29-2023, 06:39 PM - Forum: General Coding Help - Replies (2)

[align=right]
[python]

class Dog:
def __init__(self, breed, age, color, is_mixed):
self.breed = breed
self.age = age
..... More

Print this item

Video doing data treatment on a file import-parsing a variable
Posted by: EmBeck87 - Mar-29-2023, 04:35 PM - Forum: General Coding Help - Replies (15)

Hello, I need some code to parse a variable name, so that merging it's data with another source later will occur correctly. I'm a beginner and am not ..... More

Print this item

  Phyton Opening files on windows C: pc
Posted by: EddieG - Mar-29-2023, 11:43 AM - Forum: General Coding Help - Replies (3)

Hello,
A newbie here. I am into my lesson opening files on Python. The lesson is to copy a poem on the text editor (note++) . I saved the poem on my ..... More

Print this item

Heart Just some words of appreciation.
Posted by: Carmazum - Mar-29-2023, 02:17 AM - Forum: Board - Replies (2)

[align=justify]Greetings, Python community! python
Hope you are well. Smile

I just wanted to comment that I love the forum. It is very..... More

Print this item

  list the files using query in python
Posted by: arjunaram - Mar-28-2023, 02:05 PM - Forum: General Coding Help - No Replies

Can you let me know how to list the files using the query output in python.

[output]Input Files In Unix
Directory : /DDD_Ext/input/

DDD_SL_NE_W..... More

Print this item

  Pandas problems
Posted by: WiPi - Mar-28-2023, 01:16 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi Guys,
I have been using pandas for a while now to extract tables from the web. I used this simple bit of code here and ran into all sorts of probl..... More


Attached Files

Thumbnail(s)
   
Print this item

  search in dict inside tuple
Posted by: steg - Mar-28-2023, 11:33 AM - Forum: General Coding Help - Replies (1)

In the following functions, i want to search, for example, the string 'BAB' in hmm. The code cannot find it and i could not fix it. Thanks for your he..... More

Print this item

  PyQt5 drawing on scrollable area
Posted by: HeinKurz - Mar-28-2023, 10:46 AM - Forum: GUI - Replies (3)

Some things are not so easy to understand for me as PyQt5 newbie. Huh
I have a QTabWidget with 3 Tabs. On Tab2 I have a scrollable area and no..... More

Print this item

  [split] Parse Nested JSON String in Python
Posted by: mmm07 - Mar-28-2023, 10:37 AM - Forum: General Coding Help - Replies (4)

Hi! just saw this post and I think** it will help me with the same issue.. any chance you could help me? Thanks in advance!!

my amended..code..

..... More

Print this item

Question Doubt about conditionals in Python.
Posted by: Carmazum - Mar-28-2023, 08:00 AM - Forum: General Coding Help - Replies (6)

[align=justify]Greetings, Python community! python
I hope you are doing well. Smile

I recently started re-learning Python (I love it t..... More

Print this item

  Code freez if more inputs
Posted by: kiko058 - Mar-28-2023, 04:44 AM - Forum: General Coding Help - Replies (2)

Hello I found this code. The code should calculate how to divide given lengths into pieces with the smallest possible waste, based on the specified le..... More

Print this item

  Partial KEY search in dict
Posted by: klatlap - Mar-28-2023, 04:18 AM - Forum: General Coding Help - Replies (6)

Hi all, i am trying to do a partial search in a dict, everything i have tried needs the exact search term that will find the value if it contains the ..... More

Print this item

  How can I change with Python the underline colour in a PDF? [SOLVED]
Posted by: newbieAuggie2019 - Mar-28-2023, 02:20 AM - Forum: Bar - Replies (3)

Hello again, everybody!

I try to keep working on my better understanding and use of Python, at least, as much as my little free time allows me...
..... More

Print this item

  which exception should be raised if ...
Posted by: Skaperen - Mar-27-2023, 05:17 PM - Forum: News and Discussions - Replies (5)

which exception should be raised if a process being run produces output to a pipe normally connected to read its stdout and/or stderr wh..... More

Print this item

  Pandas question
Posted by: DPaul - Mar-27-2023, 03:32 PM - Forum: General Coding Help - Replies (3)

Hi,
I now have been handed a bunch of legacy excel files.
The author had the good idea to put two header rows, but both have column names i want.
S..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Recovery of my lost solan... 1 hour ago winchestersam winchestersam General Codin...
  LOST OF INVESTMENT SCAM 2 hours ago goodvicent goodvicent News and Disc...
  [Tkinter] Too much space ... 5 hours ago RonR deanhystad GUI
  Another app idea - intera... Yesterday, 07:07 decuser Lenowell News and Disc...
  403 Error 09-15, 20:58 CaptainNewb snippsat Web Scraping ...
  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...
Most views
  The best Prog... 575836
  Tutorial Requ... 497155
  Web Scraping ... 439843
  Newbie with P... 383552
  New Users Int... 365522
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+ 12087
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
winchestersam Today
goodvicent Today
XenonBlack Yesterday
tobey12 Yesterday
Lenowell Yesterday

User Panel Messages

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