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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,804

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 43 Guest(s)
Bing, Google, Apple, AOL, AOL

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
3 hours ago
» Replies: 2
» Views: 35
Backward compatibility qu...
Forum: News and Discussions
Last Post: yutaozhou
4 hours ago
» Replies: 4
» Views: 162
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
6 hours ago
» Replies: 6
» Views: 164
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 70
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,585
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 158
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 151
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,514
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,392
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,589

 
  Get text from within h3 html tags
Posted by: Pedroski55 - Jan-02-2022, 12:55 AM - Forum: General Coding Help - Replies (8)

I want to make a quiz for the students. I want to use the business and finance terms on this web page.

Recently snippsat was showing how to get ima..... More

Print this item

  string formatting
Posted by: barryjo - Jan-01-2022, 11:39 PM - Forum: General Coding Help - Replies (7)

When I run this simple program 0.166666666666 is printed.
What do i do to make the print 0.17
i.e. what is the formatting command to truncate the..... More

Print this item

Question convert autohotkey script to python / macro - press key when pixel get colour
Posted by: willson94d - Jan-01-2022, 07:31 PM - Forum: General Coding Help - Replies (1)

Hello!

Some time ago I switched from Windows to Mac.
So far I was using AutoHotkey to execute few simple scripts in 2D game called 'Tibia' on Wind..... More

Print this item

  AttributeError: 'NoneType' object has no attribute 'group'
Posted by: MaartenRo - Jan-01-2022, 03:46 PM - Forum: General Coding Help - Replies (3)

Hi,

My code for finding a certain text in a larger text doesn't work. It should give: " Phone number found: 415-555-4242". What am i doing wrong?
..... More

Print this item

  Wrong code in Python exercise
Posted by: MaartenRo - Jan-01-2022, 03:21 PM - Forum: General Coding Help - Replies (2)

Hi,

I am practicing Python from a learning book. When i type this code i don't get the expected result. It should return:
" Phone number found: 4..... More

Print this item

  Music Notation editor; how to build the editor? direction to go?
Posted by: philipbergwerf - Jan-01-2022, 12:19 PM - Forum: General Coding Help - Replies (1)

For a long time I am developing a music notation app called PianoScript and after finishing the first app which was like lilypond(editing the savefile..... More

Print this item

  multi-line CMD in one-line python
Posted by: kucingkembar - Jan-01-2022, 05:06 AM - Forum: General Coding Help - Replies (5)

hi, sorry for my bad English,
i tried to combine this multi-line (exclude the Import) into one-line,
[python]
import os
os.system("title installin..... More

Print this item

  Python Obstacles | Krav Maga | Wiki Scraped Content [Column Copy]
Posted by: BrandonKastning - Jan-01-2022, 04:40 AM - Forum: Web Scraping & Web Development - Replies (4)

Python Obstacles | Krav Maga | Wiki Scraped Content [Column Copy]

Sources - Blogs/Tutorials:


..... More

Print this item

  Project Direction
Posted by: bclanton50 - Jan-01-2022, 03:23 AM - Forum: General Coding Help - Replies (1)

I am embarking on a journey to master Python by trying to utilize it at my workplace and creating some self directed projects for 'needs' that my comp..... More

Print this item

  Help with espeak in python
Posted by: Extra - Dec-31-2021, 11:23 PM - Forum: General Coding Help - Replies (10)

Hello,

I'm using arch-linux (Manjaro Gnome) and I downloaded espeak-ng successfully by doing:

sudo pacman -S espeak-ng
.
I can te..... More

Print this item

  "If Len(Word) == 0" Code Block in Pig Latin Program
Posted by: new_coder_231013 - Dec-31-2021, 01:23 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm reading through an introductory Python book and there's a section in which the author presents code for a simple program that converts E..... More

Print this item

  Create zip file from the BLOB column in ORACLE DB
Posted by: nnsatpute - Dec-31-2021, 06:28 AM - Forum: General Coding Help - Replies (2)

Hello,

I have BLOB Data in one of the oracle table column.
I want to create zip file which should contain all files (xml) in blob, this zip needs..... More

Print this item

  Getting a list of forks on Github
Posted by: headkaze - Dec-31-2021, 02:06 AM - Forum: Web Scraping & Web Development - Replies (3)

I need to get a list of forks for a Github project showing ahead and behind stats as well as last commit date. I've written a Python script and everyt..... More

Print this item

  Help with simple nltk Chatbot
Posted by: Extra - Dec-30-2021, 11:14 PM - Forum: General Coding Help - Replies (3)

Hello,

I'm trying to build a simple chatbot using nltk. The problem I have with this code is that whenever I input a response (ex: my name is bob) th..... More

Print this item

  Rect object penetrates wall on one side
Posted by: Jan_97 - Dec-30-2021, 08:52 PM - Forum: Game Development - Replies (4)

I have an issue I cannot seem to figure out on my own. I am trying to set a wall that my player object can't go through and I use a solution I have us..... More

Print this item

  How to use += after breaking for loop?
Posted by: Frankduc - Dec-30-2021, 08:22 PM - Forum: General Coding Help - Replies (2)

Hello,

I am new to the forum and new to Python and maybe i did not post in the right part of the forum.

I have this code:
[python]
import num..... More

Print this item

  Python class doesn't invoke setter during __init__, not sure if's not supposed to?
Posted by: mtldvl - Dec-30-2021, 03:41 PM - Forum: General Coding Help - Replies (2)

Hey,

I have a simple class like this:

[code]
class Test:
def __init__(self, name):
self._name = name

@property
def na..... More

Print this item

  Ran 0 tests in 0.000s - unittest
Posted by: Peaches - Dec-30-2021, 10:36 AM - Forum: General Coding Help - Replies (8)

Hi Heart I'm an absolute beginner so please don't kill me if my question is dumb. Angel

I've a new project in Pycharm. The structure is a..... More

Print this item

  Classes, OOP, building deck of 52 playing cards
Posted by: Drone4four - Dec-30-2021, 10:16 AM - Forum: General Coding Help - Replies (9)

Hi Team Python!

I’m trying to build a deck of 52 playing cards using OOP and list comprehension.

Here are some scripts:

[python]class Card:..... More

Print this item

  QT5 Designer Drawing
Posted by: greenhorn1 - Dec-30-2021, 07:34 AM - Forum: GUI - Replies (1)

Hi all. I'm having trouble implementing a drawing box in QT5 Designer. This code as an example, creates the window dynamically and uses QPainter and..... More

Print this item

  i like that house
Posted by: Skaperen - Dec-29-2021, 08:04 PM - Forum: Board - Replies (1)

i like that snow covered house behind the snowman in the forum picture in the upper left of most pages. anyone know where i can download the floor pl..... More

Print this item

  How to install modules for 2.7 (or sharing from 3.8))
Posted by: Persisto - Dec-29-2021, 07:30 PM - Forum: General Coding Help - Replies (2)

Hello,

I have been dabbling in Python on and off for several years and have found a need to motivate me to learn more: (I have fairly extensive exp..... More

Print this item

  Help, a script line is skipped
Posted by: kucingkembar - Dec-29-2021, 07:06 PM - Forum: General Coding Help - Replies (5)

hi, sorry for my bad English,
I tried this code of my, it works but a line is skipped

[python]
from tkinter import *
from tkinter.ttk import *
..... More

Print this item

  how to easily create a list of already existing item
Posted by: CompleteNewb - Dec-29-2021, 06:52 PM - Forum: General Coding Help - Replies (15)

hello, simple question here. If i have a series of items how can i not manually create a list?
Like

a=1
b=2
c=3
d=4
e=5
f=6
g=7
h=8
i=9
j..... More

Print this item

  Coloring a surface with transparency
Posted by: Sandor - Dec-29-2021, 05:13 PM - Forum: Game Development - Replies (4)

Hello all,

I am completely new here, I hope my question is correct here. I am programming a football manager game and would like to add a selection o..... More

Print this item

  Arduino's AccelStepper Library with Nanpy?
Posted by: boogeyman1 - Dec-29-2021, 03:54 PM - Forum: General Coding Help - Replies (2)

Hello,

I want to use the Arduino library AccelStepper with a Python script. I am unable to find if Nanpy supports this library? Am I able to use th..... More

Print this item

  Peculiar pattern from printing of sets
Posted by: SahandJ - Dec-29-2021, 01:35 PM - Forum: General Coding Help - Replies (7)

Hey everyone.

This is my first post here. I tried searching a bit on google and couldn't find a post related to this. I'm assuming it's been asked b..... More

Print this item

  Python, how to manage multiple data in list or dictionary with calculations and FIFO
Posted by: Mikeardy - Dec-29-2021, 11:03 AM - Forum: General Coding Help - Replies (8)

I need to manage multiple data organized like as following:

[font=Courier New]SLOT1
| timestamp | value1 | value2 | value3 | value4 |
|--------..... More

Print this item

  split txt file data on the first column value
Posted by: shantanu97 - Dec-29-2021, 10:07 AM - Forum: General Coding Help - Replies (2)

I have a bunch of text files that look this.
[python]H0002 Version 3 ..... More

Print this item

  Arduino Code to Python Code
Posted by: boogeyman1 - Dec-29-2021, 03:41 AM - Forum: GUI - Replies (3)

Hello,

I am working on integrating a GUI with some Arduino code. It looks like the easiest way to do this is by converting my Arduino code to pytho..... More


Attached Files

.txt   testcode12-28-2021.txt (Size: 7.39 KB / Downloads: 387)
Print this item

  Need help using Pyserial
Posted by: barryjo - Dec-29-2021, 12:31 AM - Forum: General Coding Help - Replies (22)

I am trying to get pyserial to send/receive ascii text to/from Meade ETX-90 telescope. I have tested the comm link using Putty and Tera term and COM3..... More

Print this item

  AttributeError: 'ellipsis' object has no attribute 'register_blueprint'
Posted by: Mechanicalpixelz - Dec-29-2021, 12:23 AM - Forum: Web Scraping & Web Development - Replies (2)

_init__.py", line 42, in create_app
app.register_blueprint(auth.bp)
I have initialized the database and everything made all the html file..... More

Print this item

  f-strings round float down too much
Posted by: Skaperen - Dec-29-2021, 12:16 AM - Forum: News and Discussions - Replies (5)

[output]
lt2a/forums /home/forums 4> cp -ft. /home/phil/foo.py
'/home/phil/foo.py' -> './foo.py'
removed './foo.py'
lt2a/forums /home/forums 5> ca..... More

Print this item

  help comparing strings
Posted by: xander - Dec-28-2021, 10:12 PM - Forum: Homework - Replies (3)

Hi guys. I really got stuck with my homework assignment. Can you guys please help me to reduce the complexity of the code below?
but first, the task..... More

Print this item

  value null when update in json file
Posted by: 3lnyn0 - Dec-28-2021, 05:24 PM - Forum: General Coding Help - Replies (6)

Hi!
I have 4 functions, one for adding a new item to the json file, one for building a new dictionary, one for validating the data I enter from the ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 3 hours ago racingsubby racingsubby General Codin...
  Backward compatibility qu... 4 hours ago yutaozhou yutaozhou News and Disc...
  [Tkinter] I’m building a ... 6 hours ago tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
Most views
  The best Prog... 578750
  Tutorial Requ... 509558
  Web Scraping ... 441881
  Newbie with P... 385854
  New Users Int... 375514
Most reputation
buran 581
snippsat 510
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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