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,399
» Latest member: aellamarley7776
» Forum threads: 38,825
» Forum posts: 176,031

Full Statistics

Online Users
There are currently 35 online users.
» 1 Member(s) | 27 Guest(s)
Bing, Google, AOL, Twitter, snippsat

Latest Threads
IP address for users
Forum: Networking
Last Post: Ruth_Hernandez
6 minutes ago
» Replies: 5
» Views: 7,131
Dvoretsky Endgame Manual ...
Forum: General Coding Help
Last Post: aellamarley7776
22 minutes ago
» Replies: 0
» Views: 17
Shield Of Sparrows Devney...
Forum: General Coding Help
Last Post: iabellaswiftz9184
23 minutes ago
» Replies: 0
» Views: 13
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
2 hours ago
» Replies: 28
» Views: 15,537
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 128
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 204
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,619
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 176
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 329

 
  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: 474)
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
  IP address for users 6 minutes ago Robots Ruth_Hernandez Networking
  Dvoretsky Endgame Manual ... 22 minutes ago aellamarley7776 aellamarley7776 General Codin...
  Shield Of Sparrows Devney... 23 minutes ago iabellaswiftz9184 iabellaswiftz9184 General Codin...
  Merge video with subtitle... 2 hours ago Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580447
  Tutorial Requ... 519784
  Web Scraping ... 442789
  Newbie with P... 386998
  New Users Int... 386668
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
aellamarley7776 Today
iabellaswiftz9184 Today
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday

User Panel Messages

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