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,932
» Latest member: Alex12
» Forum threads: 38,721
» Forum posts: 175,501

Full Statistics

Online Users
There are currently 53 online users.
» 2 Member(s) | 46 Guest(s)
Bing, Google, Applebot, deanhystad, wabbity

Latest Threads
Expert Guidance Made Easy...
Forum: General Coding Help
Last Post: Alex12
34 minutes ago
» Replies: 0
» Views: 7
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
4 hours ago
» Replies: 1
» Views: 344
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,342
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,460
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 287
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 94
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,806
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,058
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 746
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Sep-14-2025, 11:25 AM
» Replies: 7
» Views: 2,111

 
  Replace columns indexes reading a XSLX file
Posted by: Larry1888 - Nov-17-2022, 04:53 PM - Forum: General Coding Help - Replies (2)

Hi all!

I am trying to make my code read certain indexes of an excel file depending on the type of configuration it has in the database, for exampl..... More

Print this item

  New2Python: Help with Importing/Mapping Image Src to Image Code in File
Posted by: CluelessITguy - Nov-17-2022, 04:46 PM - Forum: General Coding Help - No Replies

I am creating an item catalogue of our products and need to import the item images besides their product codes'. The Image Code in the file is the sam..... More


Attached Files

Thumbnail(s)
   
Print this item

  PDF file split and copy
Posted by: rob101 - Nov-17-2022, 02:20 PM - Forum: Code sharing - No Replies

Mostly in the interests of learning, but also for a practical application, I've been looking for a way to copy pages from a PDF file and write said pa..... More

Print this item

  python multiprocessing help -- to extract 10 sql table into csv
Posted by: mg24 - Nov-17-2022, 08:23 AM - Forum: General Coding Help - Replies (3)

Hi Team,

Need your help in improving my existing code using multithreading or multiprocessing as per below situation.

I have 10 sql tables in a ..... More

Print this item

  Print the line before the corrent line
Posted by: tester_V - Nov-16-2022, 08:30 PM - Forum: General Coding Help - Replies (9)

Greetings!
I'm searching lines for two words "PASSED" and "FAILED"
I need to get the line before "PASSED" and the "FAILED" line.
I'm definitely doi..... More

Print this item

  String to Number in Python
Posted by: Godjuned - Nov-16-2022, 06:36 PM - Forum: Homework - Replies (3)

Number: positive, up to billion (10 digits)

Example 1:
Input : I bought twenty three packs of bread
Output : I bought 23 packs of bread

Exampl..... More

Print this item

  [SOLVED] [Linux] Script in cron stops after first run in loop
Posted by: Winfried - Nov-16-2022, 05:35 PM - Forum: General Coding Help - Replies (2)

Hello,

For some reason, the following Python script that runs every hour through cron stops after the first run in the loop after downloading the R..... More

Print this item

  Problem : IndexError...
Posted by: JohnnyCoffee - Nov-16-2022, 03:52 PM - Forum: General Coding Help - Replies (5)

I'm capturing a string (url) where the array will be assembled at runtime, but I'm facing the following error ( IndexError: list index out of range ),..... More

Print this item

  [SOLVED] [Debian] UnicodeEncodeError: 'ascii' codec
Posted by: Winfried - Nov-16-2022, 10:21 AM - Forum: General Coding Help - Replies (1)

Helllo,

I get this error when running a script on a Debian 11 host (Python 3.5.3), apparently because the web site I call through requests() return..... More

Print this item

  [SOLVED] Alternative to regex to extract date from whole timestamp?
Posted by: Winfried - Nov-16-2022, 08:41 AM - Forum: General Coding Help - Replies (6)

Hello,

Python being such a rich language, I was wondering if it provides a ready-to-use function to extract juste the date from a whole timestamp i..... More

Print this item

  call query telebot
Posted by: lolita7777 - Nov-16-2022, 07:54 AM - Forum: General Coding Help - Replies (1)

There are 3 functions:

send_docs_shop1()
send_docs_shop2()
send_docs_shop3()

How to call them depending on callback_query. For example if call..... More

Print this item

  flask.cli.NoAppException: Could not import 'app'
Posted by: kazu755 - Nov-16-2022, 06:59 AM - Forum: Web Scraping & Web Development - Replies (4)

Background
I am currently making flask-based application with Python but fatal error shown in the title occurs. I searched ..... More

Print this item

  Multiprocessing Pool Multiple Instances How to Kill by Pool ID
Posted by: sunny9495 - Nov-16-2022, 05:57 AM - Forum: General Coding Help - No Replies

Hi,

Iam working multiple multiprocessing pool which was working fine, but the main issue is, how i can kill only particular pool.

[img]https://i..... More

Print this item

  Keyboard for coding (and general use)
Posted by: rob101 - Nov-15-2022, 08:18 PM - Forum: Bar - Replies (1)

Although I have four computers on the go at any one time (one for my music and such, a server for obvious reasons, and one that displays some 'market'..... More

Print this item

  How to find PyWin32 for Python 2.1.3
Posted by: Paul_Newton - Nov-15-2022, 06:22 PM - Forum: General Coding Help - Replies (9)

Please don't ask why I would want to install such an old version of Python, but I have Python 2.3.1 installed anyway. Now I am looking for the corres..... More

Print this item

  music for learning/programming
Posted by: astral_travel - Nov-15-2022, 06:22 PM - Forum: Bar - Replies (9)

hey,
is there some good music on youtube that you can share here that is good for learning and/or programming ?

of course there is a mix list of w..... More

Print this item

  the term arguments
Posted by: astral_travel - Nov-15-2022, 06:17 PM - Forum: News and Discussions - Replies (25)

hey,
why is the given term of "arguments" is signifying both when 'people fight verbally' and 'parameters',
is there a connection between the two ?..... More

Print this item

  If statement not working correctly?
Posted by: MrKnd94 - Nov-15-2022, 04:58 PM - Forum: General Coding Help - Replies (2)

Hello.

I'm sorry to bother you all, but I'm having trouble with the While loop, and the Quit function. I've tried it before, but I didn't get it to..... More

Print this item

  Find (each) element from a list in a file
Posted by: tester_V - Nov-15-2022, 05:44 AM - Forum: General Coding Help - Replies (3)

Greetings!
I want to scan a .csv file, find cells with dates, and create a list of dates.
then I'd like to check the same file and find strings that..... More

Print this item

  how to write exception error into logger
Posted by: mg24 - Nov-15-2022, 04:09 AM - Forum: General Coding Help - Replies (3)

Hi Team,

I am unable to write error message into logger my logger file.

I am generating error , I can print that error.
I cannot write that err..... More

Print this item

  python standard way of importing library
Posted by: mg24 - Nov-15-2022, 01:30 AM - Forum: General Coding Help - Replies (1)

Hi Team,
What is industrial standard way of importing library ,
my colleague suggested below.

1)standard,
2) third party,
3) local modules

[..... More

Print this item

  python create function validation
Posted by: mg24 - Nov-15-2022, 12:22 AM - Forum: General Coding Help - Replies (1)

Hi Team,

how to create separate function for validating command line arguments in another module
and import the same in main module


[Python]..... More

Print this item

Brick [SOLVED] Password generation UnboundLocalError exception
Posted by: Milan - Nov-14-2022, 05:51 PM - Forum: GUI - Replies (3)

Hello team,

I have the following code:

[python]from tkinter import *
import random
import string

random_string = string.ascii_letters + str..... More

Print this item

  from numpy array to csv - rounding
Posted by: SchroedingersLion - Nov-14-2022, 05:33 PM - Forum: General Coding Help - Replies (6)

Greetings,

I have a 2D numpy array

ARR
storing a bunch of floats. I want to print it row by row to a .csv file, but rounded to 3 sig..... More

Print this item

Smile How to further boost the data read write speed using pandas
Posted by: tjk9501 - Nov-14-2022, 01:34 PM - Forum: Data Science - Replies (1)

Hello!

I am using Cupy module to speed up linear algebra calculations using NVIDIA GPU, and after the calculation I need to retrive calculated resu..... More

Print this item

  email Library: properly send message as quoted-printable
Posted by: malonn - Nov-14-2022, 11:13 AM - Forum: General Coding Help - Replies (3)

I am struggling to get email clients to properly render HTML messages. I believe it is a result of the content transfer encoding. I've tried several..... More

Print this item

  Pandas CSV Issues
Posted by: rmfooty - Nov-14-2022, 10:09 AM - Forum: Data Science - Replies (2)

Hi all, and thank you for your help in advance.

I am experiencing a strange issue with Pandas. I have a program that reads an entire CSV into a dat..... More

Print this item

  How to run together python3.10 and python3.7
Posted by: ilknurg - Nov-14-2022, 08:58 AM - Forum: General Coding Help - Replies (2)

Hi everyone. I have a code which is written with python3.7
Because of python3.7 doesnt have switch-case I wrote another code script with python3.10..... More

Print this item

  Requests_HTML not getting all data on Amazon
Posted by: aaander - Nov-14-2022, 12:47 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm working on a review scraper, and I'm troubleshooting some code to get proof of concept that what I want can be done in requests_HTML. I am runnin..... More

Print this item

  WMI error
Posted by: cosmin1805 - Nov-13-2022, 03:47 PM - Forum: General Coding Help - Replies (3)

Hi, I am trying to run this thing to get the CPU temperature(I got it from youtube but I am open to other suggestions that work on WINDOWS) and I get ..... More

Print this item

  My ship is not moving(
Posted by: Like_begginer - Nov-13-2022, 09:29 AM - Forum: Homework - Replies (3)


.py   Rocketboom.py (Size: 1.44 KB / Downloads: 248)
.py   Settings.py (Size: 105 bytes / Downloads: 243)
.py   Sprite.py (Size: 414 bytes / Downloads: 267) my rocket on my screen but i don't understood why it is not working

Print this item

  CRLF vs CR vs LF in encode/decode
Posted by: Skaperen - Nov-13-2022, 01:57 AM - Forum: News and Discussions - No Replies

can/do encode() or decode() do any translation of CRLF or CR or LF ?

Print this item

  question about if __name__=="__main__"
Posted by: aaander - Nov-13-2022, 12:07 AM - Forum: General Coding Help - Replies (6)

I am working on a scraper, I've made the class, and written the driver under if __name__ == '__main__': My question is, and sorry if it's basic, I'm ..... More

Print this item

  im not sure what ive done wrong code doesnt run
Posted by: dgizzly - Nov-12-2022, 11:19 PM - Forum: Homework - Replies (3)

[python]def main():
again='y'
while again=='y' or again=='Y':
try:
key=('A', 'C', 'A', 'B', 'B', 'D', 'D', 'A', 'C', '..... More

Print this item

  Remove numbers from a list
Posted by: menator01 - Nov-12-2022, 08:34 PM - Forum: General Coding Help - Replies (4)

I've been working a problem in another forum and ran across something I don't understand.
Giving a list of numbers as input and then removing the num..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Expert Guidance Made Easy... 34 minutes ago Alex12 Alex12 General Codin...
  Another app idea - intera... 4 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 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...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
  Python Installation issue 09-14, 11:16 RFHill Dev News and Disc...
Most views
  The best Prog... 575786
  Tutorial Requ... 497022
  Web Scraping ... 439796
  Newbie with P... 383486
  New Users Int... 365255
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 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Alex12 Today
Lenowell Today
luisshulez6883 Yesterday
KennedyRichadGuerra Yesterday
Williefaree Yesterday

User Panel Messages

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