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,414
» Latest member: aalexfracesoz1783
» Forum threads: 38,828
» Forum posts: 176,066

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 34 Guest(s)
Applebot, Bing, Google, Mojeek

Latest Threads
Exponential Number Conver...
Forum: General Coding Help
Last Post: bowlofred
59 minutes ago
» Replies: 2
» Views: 60
python re.finditer return...
Forum: General Coding Help
Last Post: arbiel
1 hour ago
» Replies: 6
» Views: 137
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
3 hours ago
» Replies: 14
» Views: 488
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
7 hours ago
» Replies: 12
» Views: 7,199
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Today, 06:35 AM
» Replies: 4
» Views: 428
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 07:13 AM
» Replies: 6
» Views: 759
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,386
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 505
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,712
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 540

 
  Beginner Python Error
Posted by: ianmac88 - Aug-30-2022, 12:36 AM - Forum: General Coding Help - Replies (4)

Hello,

I am extremely new to programming/python and I have been watching thenewboston on YouTube going through his Python Programming playlist. In..... More

Print this item

  count certain task in task manager[solved]
Posted by: kucingkembar - Aug-29-2022, 03:27 PM - Forum: General Coding Help - Replies (2)

hi, sorry for my bad English
I creating a downloader to download multiple files at once using python,
I will not write details, this is the part:
[pyt..... More

Print this item

  Installing Modules
Posted by: PythonBorg - Aug-29-2022, 08:52 AM - Forum: General Coding Help - Replies (10)

Hi There,

Have installed the Markdown module into Python3 using PIP.
it install without a problem... but when i try to use it, Python does not re..... More

Print this item

  will this work
Posted by: AGM - Aug-29-2022, 08:37 AM - Forum: Homework - Replies (2)

i made this but i cant test it cause i am on a chromebook and the compiler i used wont work, i want this to give player_ones_hand
7 random cards
(b..... More

Print this item

  python -m sysconfig
Posted by: Skaperen - Aug-29-2022, 12:30 AM - Forum: News and Discussions - Replies (3)

i get this:
[output]
lt1a/forums/2 /home/forums 4> python -m sysconfig|fgrep userbase
userbase = "/home/forums/.local"
lt1a/forums/2 /home/forums..... More

Print this item

  MIME type
Posted by: Skaperen - Aug-28-2022, 11:37 PM - Forum: News and Discussions - Replies (2)

when might Python source code files get a real permanent MIME type, instead of temporary "text/x-python", such as perhaps "lang/python"?

Print this item

  Help Switching between keyboard/Mic input in my code
Posted by: Extra - Aug-28-2022, 08:56 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to get my voice assistant to be able to take user commands via Keyboard or Mic depending on what the user chooses.
Right now, it d..... More

Print this item

Star Python GUI - PyQt Containers and Layouts Explained
Posted by: panofish - Aug-28-2022, 07:29 PM - Forum: GUI - No Replies

Part 3 of my youtube series on Python Desktop GUI creation is out.
https://youtu.be/ejKel3ObLPc

This one c..... More

Print this item

  Text stacking on top of one another
Posted by: menator01 - Aug-28-2022, 02:44 PM - Forum: Game Development - Replies (5)

I've been playing around a bit with pygame and image buttons. When creating a button with the button class, I can't seem to get button text correct. I..... More

Print this item

  Help with bleak - how to send test to BLE device?
Posted by: korenron - Aug-28-2022, 10:53 AM - Forum: General Coding Help - Replies (1)

Hello,
I'm trying to send data to my BLE device - but can't seem to find hte right fundtion for it

this is what I have done so far:
[python]
o..... More

Print this item

  Made my First function.
Posted by: PythonBorg - Aug-28-2022, 10:33 AM - Forum: Code Review - Replies (7)

[python]
def my_fibonacci():
p = 0
c = 1
result = (p + c)
print(result,"",end = "")
while result < 5000:
p = c
c = result
result =..... More

Print this item

  Merge htm files with shutil library (TypeError: 'module' object is not callable)
Posted by: Melcu54 - Aug-28-2022, 07:00 AM - Forum: General Coding Help - Replies (7)

why is my code not working?

[python]import shutil

filenames = shutil('*.htm') # list of all .htm files in the directory

with open('output_f..... More

Print this item

  Use module docx to get text from a file with a table
Posted by: Pedroski55 - Aug-28-2022, 03:32 AM - Forum: General Coding Help - Replies (8)

I made a simple function to get text from .docx files. Works OK.

Now I have a file containing a text frame at the top, a little text and a big tabl..... More


Attached Files

.docx   table_Adverbs_ly.docx (Size: 7.32 KB / Downloads: 360)
Print this item

  pygame animated button with images
Posted by: menator01 - Aug-28-2022, 01:26 AM - Forum: Code sharing - Replies (1)

Example of using images and pygame for buttons. (did not do the callback function part).
Just hover and click animation. Hope it will help someone.
..... More

Print this item

  regex multi-line
Posted by: kucingkembar - Aug-27-2022, 05:11 PM - Forum: General Coding Help - Replies (6)

hi,
i have some page that "the content" do not have specific tag(<something><like><this>) except for the <HTML>,
so I can't use the soup to get the..... More

Print this item

  Is there a good tutorial on installing Python correctly on Windows?
Posted by: CynthiaMoore - Aug-27-2022, 11:19 AM - Forum: Tutorial Requests and Submissions - Replies (4)

I checked several websites discussing Python installation. Some talk about using a "virtual environment". Others do not.

Is there a good tutorial I..... More

Print this item

  Can't update label in new tk window, object has no attribute
Posted by: tompranks - Aug-27-2022, 09:24 AM - Forum: GUI - Replies (3)

Hi, I have this code but i get the error "object has no attribute".

[python]from tkinter import *

root = Tk()

root.geometry("300x300")

cou..... More


Attached Files

Thumbnail(s)
       
Print this item

  No "Post Thread" button
Posted by: CynthiaMoore - Aug-27-2022, 05:35 AM - Forum: Board - Replies (4)

I went to the Tutorials forum to see if there is a good tutorial on getting started with Python. When I selected the [i]Python Installation and Execut..... More

Print this item

  search is not finding documentation i want
Posted by: Skaperen - Aug-26-2022, 05:04 AM - Forum: GUI - Replies (1)

i am trying to search for documentation/tutorials/guides for Python3 GUI programming but am coming up basically empty. on python.org i was getting lo..... More

Print this item

  python read iperf log and parse throughput
Posted by: jacklee26 - Aug-26-2022, 05:03 AM - Forum: General Coding Help - Replies (4)

HI
i have a file which is iperf3's log file, I wish to get the Throughput value from the file.
I have written python code and would like to ask for..... More

Print this item

  C++ python embedding
Posted by: comarius - Aug-26-2022, 01:50 AM - Forum: General Coding Help - No Replies

I am looking for a good package / library to extend a C++ application with python scripting. I would need both ways calls, from python to C++ function..... More

Print this item

  -i option changes sys.path (removes leading empty string '')
Posted by: markanth - Aug-26-2022, 12:13 AM - Forum: General Coding Help - Replies (6)

I have an issue that I found very strange.

Why would invoking Python with '-i' option affect sys.path?

I have two aliases that I use to launch P..... More

Print this item

  xlswriter(pandas) and conditional format
Posted by: paul18fr - Aug-25-2022, 09:04 PM - Forum: Data Science - Replies (1)

Hi,

I'm trying to figure out how to apply the conditional formating on complete specifc colums (J to M here) in an Excel file using Pandas; the onl..... More

Print this item

  how to read chinese character?
Posted by: kucingkembar - Aug-25-2022, 06:38 PM - Forum: General Coding Help - Replies (2)

Hi, I try to translate a Chinese page to an English page,
but the result is gibberish,
how to "convert" It to Chinese?
[python]# importing the modu..... More

Print this item

  unittest.mock for an api key
Posted by: silver - Aug-25-2022, 05:52 PM - Forum: General Coding Help - Replies (3)

I have a method call getKey() returning url and key and I need to test the function using python unittest.mock

[python]
def getKey():

key ..... More

Print this item

  please check this i wanna use a csv file as a graph
Posted by: xCj11 - Aug-24-2022, 05:47 PM - Forum: General Coding Help - Replies (5)

PLEASE just read this and help me
so i made this program where i input any csv file that could be imported in the form of a valid dataframe and , as..... More

Print this item

  a longer docstring
Posted by: Skaperen - Aug-24-2022, 05:05 PM - Forum: General Coding Help - Replies (8)

a function i am creating needs a longer docstring. it's not huge, but it is longer than 80 characters. to stay all on one line, it will need to be a..... More

Print this item

  RGB() <> colorchooser.askcolor
Posted by: KennethHobson - Aug-24-2022, 04:20 PM - Forum: GUI - Replies (9)

I pick blue color but the value returned is red, not blue as you can see in the code comments. Should I parse out the RGB values from the picked color..... More

Print this item

  import question
Posted by: DPaul - Aug-24-2022, 06:29 AM - Forum: Bar - Replies (2)

Hi,
Just a thought, not a problem:
Say I have a prog that starts with 12 imports like shutil, datetime, warnings, pandas, a class of my own...etc
..... More

Print this item

  [Solved]Pass value from GUI to Another Python Script
Posted by: Extra - Aug-23-2022, 09:40 PM - Forum: GUI - Replies (7)

Hello,

I'm trying to pass my userInput value userInput = self.UserInputLineEdit.text() from my BX_GUI.py to my BX_Test.py so I can..... More

Print this item

  Print Player Name and Number of Pokemon
Posted by: webmanoffesto - Aug-23-2022, 07:39 PM - Forum: General Coding Help - Replies (1)

I'm a beginner python programmer, taking an online python class. I am creating a Pokemon game.

I'm stuggling with the next teaching instruction
[..... More

Print this item

  How to change the datatype of list elements?
Posted by: mHosseinDS86 - Aug-23-2022, 02:44 PM - Forum: General Coding Help - Replies (9)

hi there everyone!
I have a question related to changing the datatype of list:
- How to change the datatype of list?

Print this item

  Problem with GridSearchCV
Posted by: ghnunes - Aug-23-2022, 02:11 PM - Forum: General Coding Help - No Replies

Hello guys, I'm trying to do some tests with GridSearch, but I have this error, could you tell me why?

[b]in clone raise TypeError("Cannot clone ob..... More

Print this item

  Configuration file through helm charts
Posted by: saisankalpj - Aug-23-2022, 01:32 PM - Forum: Web Scraping & Web Development - No Replies

Hi,
Right now My django project is up and running in kubernetes cluster.I have achieved this through helm charts by specifying the docker images path..... More

Print this item

  imap_ssl.search one letter name
Posted by: Linh_lee - Aug-23-2022, 06:28 AM - Forum: General Coding Help - Replies (2)

resp_code, mails = imap_ssl.search(None, '(FROM "a")')
I want to search emails from a specific one letter named user, "a".
Exampl..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Exponential Number Conver... 59 minutes ago Tuurbo46 bowlofred General Codin...
  python re.finditer return... 1 hour ago arbiel arbiel General Codin...
  Possible bug found, pleas... 3 hours ago Hassher alexajames General Codin...
  How to put my game loop i... 7 hours ago temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... Today, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... Yesterday, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
Most views
  The best Prog... 580664
  Tutorial Requ... 521561
  Web Scraping ... 442884
  New Users Int... 387649
  Newbie with P... 387090
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 8197
snippsat 7398
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
aalexfracesoz1783 Today
Jessicaadams Today
alexajames Today
speakingfever Yesterday
Saskia Yesterday

User Panel Messages

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