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,938
» Latest member: jamessnorman2
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 55 online users.
» 2 Member(s) | 43 Guest(s)
Bing, Google, AOL, AOL, Facebook, Applebot, Facebook Dev, jamessnorman2, snippsat

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,210
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 669
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,571
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,001
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,512
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,348
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,547
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,501
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,652
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,215

 
  Discord Bot
Posted by: Dark_Sovereign_193 - Jun-03-2021, 03:24 PM - Forum: General Coding Help - No Replies

Hello! I have found that while creating a discord bot; this line of code doesn't work!

[inline]async def start_dungeon(ctx, member : discord.Member..... More

Print this item

  Find and replace in files with regex and Python
Posted by: Melcu54 - Jun-03-2021, 09:33 AM - Forum: General Coding Help - No Replies

good day. I need to make a simple Batch Processor (run multiple regex for search and replace on files)

Suppose I have 6 or 10 regex formula for sea..... More

Print this item

  Python Compile error
Posted by: ajitnayak1987 - Jun-03-2021, 09:28 AM - Forum: General Coding Help - Replies (4)

I have simple program running on pyscripter 2.5 and similar code tried on jupyter notebook.
How to resolve below error

reference code taken from h..... More

Print this item

  convert numbers into list
Posted by: lokesh - Jun-03-2021, 06:08 AM - Forum: General Coding Help - Replies (1)

Hi,

I need help to convert the following numbers into a list.

156788
987652
567891
234567

the output should be as below:

[156788,98765..... More

Print this item

  sys.path.insert()
Posted by: Skaperen - Jun-02-2021, 11:40 PM - Forum: General Coding Help - Replies (2)

i inserted a path by doing sys.path.insert(0,mypath). how do i delete it?

Print this item

  How Can I Draw Circle With Turtle İn Python ?
Posted by: mdm - Jun-02-2021, 09:49 PM - Forum: Homework - Replies (2)

Hello friends ı need a help about this homework ı need to draw a circle but with dashed circle .

[img]https://i2.wp.com/pythonturtle.academy/wp-con..... More


Attached Files

Thumbnail(s)
   
Print this item

  a collection of pdf-files (copy of a book) in disorder: solfing wiht pikepdf
Posted by: apollo - Jun-02-2021, 08:06 PM - Forum: Bar - Replies (3)

hello dear Python-friends,


added an update below ...

first of all - i hope youre well and all goes okay at your hometown.

i have a colle..... More

Print this item

  question about various coding methods or names
Posted by: alok - Jun-02-2021, 03:44 PM - Forum: News and Discussions - Replies (1)

Newbie question . . . Why are there so many coding methods or names ,like PYTHON , RUBY ,etc. Doesn't the PC need to know what your using ( Python or ..... More

Print this item

  request help putting together multiple widgets in pyqt application
Posted by: Oolongtea - Jun-02-2021, 03:00 PM - Forum: Code Review - No Replies

Hello people,

I'd like to share some code for review. I am currently working on an interface that will be part of the frontend of some measurement ..... More

Print this item

  .json overwrites, rather than append??
Posted by: Clives - Jun-02-2021, 02:52 PM - Forum: General Coding Help - Replies (12)

Greetings,
I am trying to write a Pandas DataFrame to a json file.
The json file gets overwritten, rather than appended??

Can anyone spot the err..... More

Print this item

  WebDriverWait improved function
Posted by: euras - Jun-02-2021, 01:40 PM - Forum: Web Scraping & Web Development - No Replies

hi guys,
I'm trying to create some kind of improved WebDriverWait function.
the problem I face automating a webpage is that it requires that ugly de..... More

Print this item

  Using SK Learn Library with Spyder
Posted by: johnfa - Jun-02-2021, 01:17 PM - Forum: General Coding Help - Replies (3)

Hi All

I am new to Spyder / Python and trying to use the SK Learn Library with Spyder on Windows 10 however i get an Module not found error.

I ..... More

Print this item

  PSF licence
Posted by: mipa - Jun-02-2021, 10:03 AM - Forum: News and Discussions - No Replies

Hi.

I have problem with understanding of PSF licence conditional. I'd like to use MatPlotLib. On their website there is written that:

[quote]Mat..... More

Print this item

  Flask read real time print from subprocess without deadlock
Posted by: vofka32 - Jun-02-2021, 09:36 AM - Forum: Web Scraping & Web Development - No Replies

Hello. Maybe someone could help? The problem is with subprocess.
I need to run the subprocess (generator.py) and show the output real-time on HMTL vi..... More

Print this item

  Docx Convert Word Header to Body
Posted by: CaptainCsaba - Jun-02-2021, 09:06 AM - Forum: General Coding Help - Replies (3)

I am trying to scrape Pdf information. I need a to collect a lot of information about each paragraph. Right now it seems that the way I can extract al..... More

Print this item

Question random in python
Posted by: ilikedofs - Jun-02-2021, 12:09 AM - Forum: General Coding Help - Replies (3)

I seem to have a problem. When I use
random.choice it will print out the list instead. here is the code and the output
first the ..... More

Print this item

  You have any idea, how fix TypeError: unhashable type: 'list'
Posted by: lsepolis123 - Jun-01-2021, 07:21 PM - Forum: General Coding Help - Replies (2)

from pcpartpicker import API

You have any idea, how to print api.supported_parts where

api = API()

You have any idea, how fix TypeError: unh..... More

Print this item

  extra slashes in the network path for shutil.copy
Posted by: tester_V - Jun-01-2021, 06:51 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to copy logs from a network drive.
There is a text file it holds all the Path\file lines for files copy, like this:
[python]
\\\\n..... More

Print this item

  pip3 v21.1.2 SSL Error on RHEL 7
Posted by: malibu - Jun-01-2021, 03:14 PM - Forum: General Coding Help - No Replies

Hi there, I am on:

Red Hat Enterprise Linux Server release 7.9 (Maipo)

This is a new server, I did:

yum install python3 python3-pip python3-w..... More

Print this item

  Hide clicked buttons
Posted by: Rubberduck - Jun-01-2021, 01:43 PM - Forum: GUI - Replies (6)


.csv   PostDummy.csv (Size: 481 bytes / Downloads: 466)
Hi There

I already code a small app which fulfils my needs. Now, I want to hide the clicked buttons from the upper part of my ap..... More

Print this item

  Check last time file was accessed
Posted by: Pavel_47 - Jun-01-2021, 12:51 PM - Forum: General Coding Help - Replies (4)

Hello,
How do I check the time at which a file was opened last time ?
Thanks.

Print this item

  Reading data to python: turn into list or dataframe
Posted by: hhchenfx - Jun-01-2021, 04:06 AM - Forum: General Coding Help - Replies (2)

Hi,

I tried 3 different ways to read csv data into python.

The 1st and 2nd methods turn data to dataframe and list, and they both work OK

The..... More

Print this item

  compressing a file
Posted by: Skaperen - Jun-01-2021, 02:53 AM - Forum: General Coding Help - Replies (5)

i have a text file. i want to read the file in a compressed form (in binary, of course). lzma.open() seems to do the opposite of what i need. it un..... More

Print this item

  empty lines in source code
Posted by: Skaperen - Jun-01-2021, 12:48 AM - Forum: News and Discussions - Replies (6)

is it safe to discard empty lines in Python source code other than a multi-line triple quote? i need to keep source code for EC2 instance userdata as..... More

Print this item

  Function - Return multiple values
Posted by: tester_V - May-31-2021, 11:14 PM - Forum: General Coding Help - Replies (10)

Greeting!
I have to scan directories and find/process subdirectories.
Number of SubDirs not static.
I thought I could use a function but found I c..... More

Print this item

  ImageTk Paste
Posted by: KDog - May-31-2021, 09:47 PM - Forum: General Coding Help - Replies (14)

I'm back again with my camera app! Trying to overlay/merge two images when saving them.
The error i get is [error]AttributeError: 'PhotoImage' object..... More

Print this item

  Filtering a data frame according to number of occurences of an observation
Posted by: Menthix - May-31-2021, 08:12 PM - Forum: General Coding Help - Replies (1)

Hi,
I have a data frame that looks like
COL1
A
A
A
A
A
B
B
B
B
B
C
D
D
D
D
E
E

I 'd like to keep observations that appear more ..... More

Print this item

  extract color text from PDF
Posted by: Maha - May-31-2021, 04:05 PM - Forum: General Coding Help - No Replies

Hi,

I am working on a project to extract information from a pdf file using python language, but I am unable to extract color text.

Is there a wa..... More

Print this item

  Calculate mean only for match strings
Posted by: ranbarr - May-31-2021, 03:17 PM - Forum: Homework - Replies (1)

Hi,
I have this assignment in which I have a file that contains alot of chromosed that I need to calculate for each one of them the mutation level.
..... More

Print this item

Question Yielding ahead of time
Posted by: Daring_T - May-31-2021, 02:39 PM - Forum: General Coding Help - Replies (5)

I was making a function that could output the results one by one with yield or return all results in a list. I have everything in the right indention,..... More

Print this item

  FEN to 2dArray in Python
Posted by: Marc212021 - May-31-2021, 01:13 PM - Forum: General Coding Help - Replies (1)

Hey, does someone have any idea, how i could convert an FEN input like this:` [ bRbNbBbQbKbBbNbR/bpbpbpbpbpbpbpbp/8/8/8/8/wpwpwpwpwpwpwpwp/wRwNwBwQw..... More

Print this item

  Extract specific sentences from text file
Posted by: Bubly - May-31-2021, 12:58 PM - Forum: General Coding Help - Replies (3)

Hi all,
I am a beginner in python. How to extract sentences, which have specific set of words (or combination of words), from a text file. For exampl..... More

Print this item

Lightbulb Object Oriented programming (OOP) problem
Posted by: OmegaRed94 - May-31-2021, 11:45 AM - Forum: General Coding Help - Replies (6)

Hello everyone, Dear Pythonistas

I have started to learn python several months ago and got to Object Oriented programming (OOP), solved many exerci..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to make the mouse move to the desired color when clicking with the left mouse
Posted by: isn_ - May-31-2021, 09:47 AM - Forum: Code Review - Replies (1)

I created a bot in python so when the purple color passes where the mouse cursor is, the left mouse button will click, now I want the mouse to move on..... More

Print this item

  YouTube Video Downloader
Posted by: BlazingWarlord - May-31-2021, 07:30 AM - Forum: Code sharing - Replies (1)

YouTube Video Downloader

A simple YouTube video downloader that ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  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...
Most views
  The best Prog... 576455
  Tutorial Requ... 498279
  Web Scraping ... 440352
  Newbie with P... 384233
  New Users Int... 367301
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 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
jamessnorman2 Today
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19

User Panel Messages

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