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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,582

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 36 Guest(s)
Bing, Google

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
4 hours ago
» Replies: 4
» Views: 130
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 1
» Views: 78
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,543
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 104
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 230
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,054
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 468
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,100
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,176
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 857

 
  t_games v0.47.0a1
Posted by: ichabod801 - Aug-24-2019, 10:52 PM - Forum: Code sharing - No Replies

I made a new release for my t_games project (..... More

Print this item

  Importing/loading a library file (.so)
Posted by: tomasby - Aug-24-2019, 08:11 PM - Forum: General Coding Help - No Replies

I have a Python extension library, written in C (name.so with PyInit_name entry point).

How do I load this file in Python? Preferably from the curren..... More

Print this item

  i need a module for more involved command line parsing
Posted by: Skaperen - Aug-24-2019, 07:16 PM - Forum: News and Discussions - Replies (21)

i am wanting to rewrite this C program into Python3. any suggestions for a module that can handle this kind of command line argument parsing?
[outpu..... More

Print this item

  Importing Custom Modules in Python 3
Posted by: Flexico - Aug-24-2019, 06:12 PM - Forum: General Coding Help - Replies (1)

I'm working on updating my scripts from Python 2 to 3, and I'm running into trouble with importing my custom modules. My __init__.py works fine when I..... More

Print this item

  effective means to flip boolean values?
Posted by: Exsul - Aug-24-2019, 05:24 PM - Forum: General Coding Help - Replies (3)

Is there a method or something to easily flip a Boolean value from False to True or vice versa?

Print this item

  [Turtle]How to make smooth moving and add gravity?
Posted by: ZakHacks - Aug-24-2019, 01:25 PM - Forum: Game Development - Replies (2)

[font=Arial, Helvetica, sans-serif]Hello, I am new to python coding and I figured this would be a good place to start. I am currently making a Python ..... More

Print this item

  How can i simplify this code
Posted by: Jezani_VIII - Aug-24-2019, 01:18 PM - Forum: General Coding Help - Replies (4)

[python]shoplist = [" blueberries", " rasberries"," apples", " soda", " diet coke", " coffee beans"]
indicator = int(input(" Which of the shopping li..... More

Print this item

  Can't Get Random Module! Pls Help!
Posted by: VictorVictus - Aug-24-2019, 09:52 AM - Forum: General Coding Help - Replies (1)

Hello, everyone, i'm stuck with a problem. For one of my Discord bots, I need to use the random module for a command (pretty simple stuff).
Thing is,..... More

Print this item

  Help Making A Toggle GUI
Posted by: TheBabaYaga202 - Aug-24-2019, 06:53 AM - Forum: GUI - Replies (7)

How would I make a Gui when a button is pressed it displays a message 'On' with a green background and when pressed again displays a message 'Off' wit..... More

Print this item

  got some problem with flask signup form.
Posted by: darktitan - Aug-24-2019, 04:25 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi
I just made a login och signup forms for my webapp its nothing advanced. I got the login to work and connect to the database but i cant get the sig..... More

Print this item

  Part of code is adding extra new line when saving to text file.
Posted by: lovepeace - Aug-23-2019, 11:43 PM - Forum: GUI - Replies (9)

new to python 3 so bare with me lol
I can't for the life of me figure out whats going wrong.
the problem is when i use "set goal" it adds a blank line..... More

Print this item

  Fast get pixel and oparate.
Posted by: storzo - Aug-23-2019, 09:05 PM - Forum: General Coding Help - Replies (7)

Hi!
I make some program to recognize pixel i few position. I try pyguiauto & PIL.
Programing with pyautogui was problematic when after 3/4min slowdow..... More

Print this item

  Organizing Data in Dictionary
Posted by: Ranjirock - Aug-23-2019, 08:26 PM - Forum: General Coding Help - Replies (3)

Hello All,

I'm trying to pull the data from excel and organize it inside the dictionary for further usage. some how I'm failing, please help.

In..... More

Print this item

  Connection issue
Posted by: metro17 - Aug-23-2019, 07:32 PM - Forum: General Coding Help - No Replies

Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate th..... More

Print this item

  How to read a file using stdin?
Posted by: pyth0nus3r - Aug-23-2019, 05:50 PM - Forum: General Coding Help - Replies (1)

So far I have worked with this script which assigns the first line of the file to variable a and the second line to variable b. But I want to read all..... More

Print this item

  convert List of Dicts into a 2 deep Nested Dict
Posted by: rethink - Aug-23-2019, 05:16 PM - Forum: General Coding Help - Replies (1)

Hi

Ive been banging my head against a wall for some time with this now, so hoping somebody will be able to point me in the right direction

I am ..... More

Print this item

  Send Email with attachment
Posted by: metro17 - Aug-23-2019, 03:29 PM - Forum: Networking - Replies (4)

I found this code online to send emails with attachments. Currently I believe it sends "encoded" attachments as the data is unreadable. How can I send..... More

Print this item

  Extracting data from multiple txt files
Posted by: Emmanouil - Aug-23-2019, 01:55 PM - Forum: General Coding Help - Replies (7)

Hello, is there any way to extract certain lines from multiple txt files that
contain dialogues? I need to extract lines based on person's name, i.e..... More

Print this item

  i keep getting unordered output when using dictionaries
Posted by: fuadfzy - Aug-23-2019, 09:28 AM - Forum: General Coding Help - Replies (4)

Hello guys, i'm new here. please go easy on me Smile

i got a quite dummy question to ask. when i used the dictionaries data structure, i keep ..... More

Print this item

  Accepting strings as arguments when slicing a string? (Ziyad Yehia on Udemy)
Posted by: Drone4four - Aug-23-2019, 08:07 AM - Forum: General Coding Help - Replies (4)

The purpose of the exercise is to take a string which says: "happy_birthday" and then use slicing to have the interpreter print just ‘happy’.

Take..... More

Print this item

  PyQt5 : Interpreter Crashes While Initializing Message Box
Posted by: iMuny - Aug-23-2019, 07:11 AM - Forum: GUI - Replies (7)

Hello forum members. I hope everyone is doing well.

Can someone please look at the code below and tell me what i am doing wrong. I've been using th..... More

Print this item

  How can I do it in Python for this SQL statement?
Posted by: mmk1995 - Aug-23-2019, 04:49 AM - Forum: Data Science - Replies (1)

Hello All,

I would like to ask, I have dataframe like this:

datetime,NO,PG,PART_TIME,COURSE_YEAR
09/02/2018 13:43:42,3035447142,UG,F,2
09/02/2..... More

Print this item

  same number everytime when using random.randint
Posted by: summeringpainting - Aug-23-2019, 03:31 AM - Forum: General Coding Help - Replies (5)

Every time I run this the random number to print out win is 3. Any help with this would be greatly appreciated!

[python]import ..... More

Print this item

  utf-8 decoding failed every time i try
Posted by: adnanahsan - Aug-23-2019, 02:07 AM - Forum: General Coding Help - Replies (21)

Hi Guyz,

Whenever i try to decode utf-8 in python3, i always get unicodedecoderror like utf-8 codec cant decode byte at bla bla bla

for exampl..... More

Print this item

  any way to load page in utf-8 encoding
Posted by: adnanahsan - Aug-23-2019, 01:55 AM - Forum: Web Scraping & Web Development - No Replies

Hi, is there any way to load web page in utf-8 encoding with selenium driver.get() method ?
i am loading a webpage which is in other language than e..... More

Print this item

  Slicing and printing two halfs of an email address (Udemy)
Posted by: Drone4four - Aug-23-2019, 12:44 AM - Forum: General Coding Help - Replies (5)

I’ve written a script which slices and prints the first half of an email address (before the ‘@’ symbol) and then which also slices and prints the dom..... More

Print this item

  "Travis" guest list name checker (Ziyad Yehia Udemy course)
Posted by: Drone4four - Aug-22-2019, 11:09 PM - Forum: Homework - Replies (8)

I'm taking a Udemy course (not for credit, just for fun) but I would still like to treat this as a homework exercise so for experienced forum members,..... More

Print this item

  BeautifulSoup: Error while extracting a value from an HTML table
Posted by: kawasso - Aug-22-2019, 10:42 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi all,

From the below HTML text:

[python]
<div class="card-body">
<div class="table-responsive">
<table class="table table..... More

Print this item

  modifying what a module defines
Posted by: Skaperen - Aug-22-2019, 10:02 PM - Forum: General Coding Help - Replies (8)

i have a module that defines some classes and functions. i want to also include some debug tools in it as well. my goal is to get everything in one ..... More

Print this item

  wmi + pypiwin32 + pywin32 + Kodi
Posted by: NonSufficitOrbis - Aug-22-2019, 07:05 PM - Forum: General Coding Help - Replies (7)

hi, new user here, hope you guys can help me. First off:

OS: Windows 10, 64 Bit.
Python: 64 bit.
Packages installed: wmi, py..... More

Print this item

  Email newly created file
Posted by: metro17 - Aug-22-2019, 05:28 PM - Forum: Networking - Replies (2)

[python]def check_id():
while True:
id = input("Please enter your ID: ")
if len(id) == 8 and ' 'not in id and id[0:2].isalpha()..... More

Print this item

  save my sensor data from the bme680 into a json or csv file
Posted by: Plastefuchs84 - Aug-22-2019, 04:56 PM - Forum: Data Science - Replies (1)

Hello,

I would like to save my sensor data from the bme680 into a json or csv file. For the last section I wrote myself. I've been trying to learn ..... More

Print this item

  Self
Posted by: sumncguy - Aug-22-2019, 04:55 PM - Forum: Homework - Replies (3)

Im putting this in homework ... because I am taking a second python class and am still confused with why we use self.

I guess I have a block on thi..... More

Print this item

  What is the sys.stdin.isatty() command?
Posted by: pyth0nus3r - Aug-22-2019, 03:52 PM - Forum: General Coding Help - Replies (2)

So I read this script but I had difficulty understanding the line that says sys.stdin.isatty():

[python]
import sys

class Redirection(object):..... More

Print this item

  Need some directions about learning python with my disability
Posted by: Mustey - Aug-22-2019, 02:19 PM - Forum: News and Discussions - Replies (3)

I am 33 year old with autism. It's very hard for me to talk to people unless it's via text.
Recently, my employer sold the business onward and I've b..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 4 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium 11 hours ago glestwid Larz60+ General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577490
  Tutorial Requ... 501409
  Web Scraping ... 441110
  Newbie with P... 385164
  New Users Int... 369948
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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