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,237
» Latest member: lary_p
» Forum threads: 38,776
» Forum posts: 175,792

Full Statistics

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

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
4 hours ago
» Replies: 1
» Views: 88
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 141
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 121
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 123
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,244
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,377
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,575
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 201
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,207
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,457

 
  Trying to compare string values in an if statement
Posted by: israelsattleen - Jul-08-2023, 02:21 AM - Forum: General Coding Help - Replies (1)

I am doing a tutorial where i get some string data input

lbsOrKgs = input ("is it in lbs or kgs")

now after getting that input all i want to do ..... More

Print this item

  Coding Error
Posted by: EddieG - Jul-07-2023, 01:57 PM - Forum: General Coding Help - Replies (2)

I am copying the text on the textbook for pygame but it is coming out as error when i run the code.Pls see the attached photo.[attachment=2449]I am c..... More


Attached Files

Thumbnail(s)
   
Print this item

  Convert dataframe from str back to datafarme
Posted by: Creepy - Jul-07-2023, 01:05 PM - Forum: General Coding Help - Replies (1)

Hi,

Am looking for help where I converted a dataframe in order for replace function to work?
Now am looking for way to convert it back to datafame..... More

Print this item

  What is all the info in the info window in Idle?
Posted by: Pedroski55 - Jul-07-2023, 04:16 AM - Forum: General Coding Help - Replies (3)

I only use Python for practical purposes, to do little jobs. I never found a task where I thought I need a class.

Today I was just looking at a cla..... More

Print this item

  Convert File to Data URL
Posted by: michaelnicol - Jul-06-2023, 10:25 PM - Forum: General Coding Help - Replies (3)

I have a STL, OBJ, and other CAD files stored on my server.

How can I convert those to a data URL?

I found the following library: https://pypi.o..... More

Print this item

  Change HID bytes using pywinusb.hid
Posted by: Stealthrt - Jul-06-2023, 03:36 PM - Forum: General Coding Help - No Replies

Hey all I am new to the Python world and need some help.

I have an HID device that I am needing to replace 0x00 with 0x01 and I have ..... More

Print this item

  qpython package error
Posted by: Creepy - Jul-06-2023, 02:18 PM - Forum: General Coding Help - Replies (5)

Hi,

Could you help me resolve the issue with package?
Re-installed a number of times, but still the same issue.

When I run my code, I get the b..... More

Print this item

  Put the new line after regex pattern
Posted by: stahorse - Jul-06-2023, 02:06 PM - Forum: Data Science - Replies (5)

Hi,
I have this code:

[quote]text = """MyCo Please have a look at this building’s premium. It looks to be a very high rate. <img width="874" hei..... More

Print this item

  Findall() ReGex
Posted by: stahorse - Jul-06-2023, 08:17 AM - Forum: Data Science - Replies (2)

Hi,

I have this regex:

[quote]content = """encoding="UTF-8"\?>(.*?)^<\?xml version="1.0"

MYCO Please have a look at this building’s premium. ..... More

Print this item

  Peaks in time domain
Posted by: frohr - Jul-06-2023, 02:56 AM - Forum: General Coding Help - No Replies

Hey all,
I have code to generate signal with some peaks and make hilbert - enveloping. But I have some peaks at start in time domain after applying h..... More

Print this item

  read file txt on my pc to telegram bot api
Posted by: Tupa - Jul-06-2023, 01:52 AM - Forum: General Coding Help - No Replies

how to read a text file called file.log and send to a bot in telegram.
I have the latest version of python, python-telegram-bot

[python]
#!/usr/b..... More

Print this item

  Oversampling using G-smote
Posted by: ark - Jul-05-2023, 08:34 PM - Forum: Data Science - Replies (1)

What are the necessary libraries or packages need to work with Geometric smote? And what are the other techniques available to over sample datasets wi..... More

Print this item

  Installing Python 3.8.11 from TGZ File
Posted by: michaelnicol - Jul-05-2023, 06:56 PM - Forum: General Coding Help - Replies (2)

I am attempting to install Python 3.8.11 for Windows from a TGZ file since no installer is available on the Python website.

Here is the files it gi..... More

Print this item

  Why am I getting this TypeError Exception?
Posted by: Affinity - Jul-05-2023, 03:18 PM - Forum: General Coding Help - Replies (8)

Please see the attached photo. This is my first Python program. It runs fine and the code appears to be the same as the instructors. Yet VSCode is ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Apple II universe
Posted by: gridsleep - Jul-05-2023, 11:16 AM - Forum: News and Discussions - No Replies

I see several Apple II emulations written in Python or in progress. Is anyone working on an implementation of Python for Apple II, as opposed to of Ap..... More

Print this item

  Equivalent Python code from VBA
Posted by: Mishal0488 - Jul-05-2023, 08:43 AM - Forum: General Coding Help - Replies (4)

Hi Guys

Refer to the below code which is developed on Excel VBA, the code essentially opens Space Gass and passes the text to the Space Gass.
What..... More

Print this item

  Regular Expression
Posted by: stahorse - Jul-05-2023, 06:28 AM - Forum: Data Science - Replies (9)

Hi,

I have this code below:

Import re

[quote]text = """
ATT Please have a look at this building’s premium. It looks to be a very high rate...... More

Print this item

  importing serial
Posted by: Fklein23 - Jul-05-2023, 04:33 AM - Forum: General Coding Help - Replies (2)

I have a Python project I have been developing on Windows. (I wish I could use Linux for this project, because I would already be done)
My project ha..... More

Print this item

  Convert np Array A to networkx G
Posted by: IanAnderson - Jul-05-2023, 02:34 AM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to convert the np array A to networkx G. I have the code "G = nx.from_numpy_array(A)" but I don't know if I need to do anything els..... More

Print this item

  Python debuggers
Posted by: jehoshua - Jul-04-2023, 10:51 PM - Forum: General Coding Help - Replies (8)

What do you use ? There is the command line pdb at https://docs.python.org/3/library/pdb.html

Then three GUI ones mentioned at https://stac..... More

Print this item

  Having trouble with a circula import
Posted by: SuchUmami - Jul-04-2023, 10:06 PM - Forum: General Coding Help - Replies (2)

When I try to run the sqlite3 module. It is saying it has a circula import. Here is the error:

[python]line 2, in <module>
import sqlite3
F..... More

Print this item

Photo Can you help me .. please
Posted by: Aldo75 - Jul-04-2023, 05:56 PM - Forum: General Coding Help - Replies (1)

hi , in the file exel there is :

name city item spent
PIPPO uk apple 2
PIPPO uk banana 3
PIPPO uk pear 5
PIPPO..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python Regulare Expression
Posted by: stahorse - Jul-04-2023, 12:04 PM - Forum: Data Science - Replies (1)

I have this code here and I want to know how to interpret it: [python]found = re.findall(
r'encoding="UTF-8"\?>(.*?)^<\?xml version="1.0"', c..... More

Print this item

Sad "PriceSystem" Python Script error to Shopify API
Posted by: Alphetto - Jul-04-2023, 09:58 AM - Forum: General Coding Help - No Replies

Good morning everyone, I have a script in Python created to do webscraping from a site to my e-commerce in shopify, until two days ago everything work..... More

Print this item

  why doesn't it replace all html tags?
Posted by: Melcu54 - Jul-04-2023, 09:07 AM - Forum: General Coding Help - Replies (3)

[b]I have these lines in a html file. each of them must be translated into Russian, if in contain more than 3 words found in the list. The problem is ..... More

Print this item

  save values permanently in python (perhaps not in a text file)?
Posted by: flash77 - Jul-04-2023, 03:44 AM - Forum: General Coding Help - Replies (8)

Hi,
in vb net you can save values ​​permanently with my.settings and load them when loading the form, for example. Is there such a way in python?

..... More

Print this item

  Check if two matrix are equal and of not add the matrix to the list
Posted by: quest - Jul-04-2023, 12:24 AM - Forum: General Coding Help - Replies (3)

I have a list which contains may matrices. I called this list as su4_np and it contains more than 500 matrices
When I want to add a matrix to the lis..... More

Print this item

  Word Generator
Posted by: FabianPruitt - Jul-03-2023, 05:45 PM - Forum: Jobs - Replies (2)

I'm looking for a coder to build me a Word Generator software package for Word Search Puzzle enthusiasts. It needs to be web-based with a good-looking..... More

Print this item

  My first pathfinding algorithm
Posted by: Proarch - Jul-03-2023, 05:27 PM - Forum: Code Review - No Replies

GitHub URL: https://github.com/ProarchwasTaken/path_test/tree/main

I figured out how to write a basic pathfinding algorithm in pygame, and I'm pret..... More

Print this item

  mouse move event/cinfiguration ttk/python
Posted by: janeik - Jul-03-2023, 02:58 PM - Forum: General Coding Help - Replies (4)

hello and thank for help given.
I have a goal:
When mousepointer moves,write its coordinates into text field of an allready existing label.
In orde..... More

Print this item

  Something wrong with my code
Posted by: FabianPruitt - Jul-03-2023, 02:19 PM - Forum: General Coding Help - Replies (5)

Firstly I'm not a coder and at 80 I doubt whether I will ever have enough brain cells to attempt such a task.

But I do enjoy making Wordsearch Puz..... More

Print this item

  Error when animating 3D plot
Posted by: Tee - Jul-03-2023, 04:34 AM - Forum: General Coding Help - Replies (4)

I am trying to animate a 3D plot. I am getting an error and I can't figure out why.
The program runs without any issues when the dot1 plot is not inc..... More

Print this item

  Review my Django & BeautifulSoup Scraper
Posted by: mactron - Jul-02-2023, 09:39 PM - Forum: Code Review - No Replies

I have some Python background, but this is my very first time working with Django. So I would appreciate it if someone could review my code to ensure ..... More

Print this item

  A solution to manage threads and event data in Tkinter
Posted by: Gribouillis - Jul-02-2023, 02:04 PM - Forum: Code sharing - Replies (8)

In the process of writing a small tkinter application, I wanted a separate worker thread to update the GUI to display progress reports. I came across ..... More

Print this item

  Too many queries?
Posted by: lorasf - Jul-01-2023, 05:24 PM - Forum: General Coding Help - Replies (6)

I have a script that executes every evening and picks up current crypto prices and then multiplies it with the current holding. After these two steps ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 4 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [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...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578717
  Tutorial Requ... 509343
  Web Scraping ... 441858
  Newbie with P... 385818
  New Users Int... 375244
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08
clayote 11-08
yutaozhou 11-07

User Panel Messages

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