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,419
» Latest member: starboy25
» Forum threads: 38,829
» Forum posts: 176,071

Full Statistics

Online Users
There are currently 32 online users.
» 1 Member(s) | 22 Guest(s)
Bing, Google, Facebook Dev, Mojeek, AOL, AOL, Tobias_Claren

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
1 hour ago
» Replies: 1
» Views: 19
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 433
python re.finditer return...
Forum: General Coding Help
Last Post: snippsat
Jan-09-2026, 06:28 PM
» Replies: 7
» Views: 459
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 787
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,733
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 707
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,015
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,607
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 722
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,358

 
  Question on subprocess module.
Posted by: knoxvilles_joker - Oct-31-2020, 04:14 AM - Forum: General Coding Help - Replies (3)

OK, I am trying to integrate a few hardware pieces. I have some main code I have working fine, but I am trying to add some more hardware to get every..... More

Print this item

  Remove double quotes from the list ?
Posted by: PythonDev - Oct-31-2020, 01:09 AM - Forum: General Coding Help - Replies (22)

I have the following code below:

[python]
from cgi import FieldStorage
v_field = FieldStorage()
v_field.list = [v_str_sev]
print(v_field)
..... More

Print this item

  sqlite3.OperationalError: near "=": syntax error
Posted by: Maryan - Oct-30-2020, 11:41 PM - Forum: General Coding Help - Replies (1)

I can't find anything wrong with the query, but yet is not working. Any help is appreciated!

[python]Exception in Tkinter callback
Traceback (most..... More

Print this item

  Making the Statistik for Servis Desk
Posted by: Rapido026 - Oct-30-2020, 10:51 PM - Forum: General Coding Help - Replies (1)

Hi to all of you!
I am the new one on this Formum.
I have one question for one project that I want to work on.
I am working my whole life in IT b..... More

Print this item

  Overwrite previous live data.
Posted by: Makada - Oct-30-2020, 10:35 PM - Forum: General Coding Help - Replies (2)

Hi,

I am trying to output the current code, which is working ok.
But i want the output to overwrite previous data instead of append.


[python]..... More

Print this item

  How to generate rows based on values in a column to fill missing values
Posted by: codesmatter - Oct-30-2020, 09:27 PM - Forum: General Coding Help - Replies (1)

I'm trying to generate new rows based on values in a certain column. In current data as you can see 'days_left' column does not have all sequential va..... More

Print this item

  Access Network SMB Share on a NAS
Posted by: deltapy - Oct-30-2020, 07:57 PM - Forum: General Coding Help - Replies (2)

Hi there,
total NOOB here.Trying to learn some Pyhton starting from "basic" automation tasks.
What I'd like to do is telling a podcast app to update a..... More

Print this item

  How inverse a number?
Posted by: Capitaine_Flam - Oct-30-2020, 07:24 PM - Forum: General Coding Help - Replies (8)

Hello guys,
I need for a little project a function or a command that can inverse a number for example, if the input is 196; the output will be 691...... More

Print this item

  switch from version 3.5.3 to 3.8.6 get import error
Posted by: python001 - Oct-30-2020, 05:40 PM - Forum: General Coding Help - Replies (9)

I am relatively new to Python. I have two small py programs. It runs on 3.5.3. When I switch to a newer version of Python (version 3.8.6). I got the f..... More

Print this item

Video Space Invaders in PyGame
Posted by: Russ_CW - Oct-30-2020, 04:51 PM - Forum: Game Development - Replies (5)

Hi Folks,

This is my clone of space invaders with an explanation of how I coded it. Smile


[video=youtube]https://youtu.be/f4coFYbYQzw[/v..... More

Print this item

  Kivy problem
Posted by: Yonu - Oct-30-2020, 03:49 PM - Forum: GUI - No Replies

[python]from kivy.uix.layout import Layout
from kivy.uix.image import Image
from kivy.uix.behaviors import ButtonBehavior
from random import shuffl..... More

Print this item

  pygame 2.0 - the happy dance birthday release
Posted by: snippsat - Oct-30-2020, 10:24 AM - Forum: News and Discussions - Replies (1)

pygame 2.0 - the happy dance birthday release
So look there been done a lot work on this Pygame ..... More

Print this item

  Understanding Raspberry PI RTS/CTS flow control
Posted by: zazas321 - Oct-30-2020, 08:02 AM - Forum: General Coding Help - No Replies

Hello. I am trying to get modbus working on my Raspberry PI but I cannot fully understand how to implement flow control. I have found and read these t..... More

Print this item

  Understanding Raspberry PI RTS/CTS flow control
Posted by: zazas321 - Oct-30-2020, 07:21 AM - Forum: General Coding Help - Replies (2)

Hello. I am trying to get modbus working on my Raspberry PI but I cannot fully understand how to implement flow control. I have found and read these t..... More

Print this item

  Delete lines from a string that contains a keyword
Posted by: JellyCreeper6 - Oct-30-2020, 05:39 AM - Forum: General Coding Help - Replies (4)

As stated in the title, I want to delete lines from a string that contains a certain keyword.
[python]This is the first line
This is the second line
T..... More

Print this item

  Problem printing last element from a list
Posted by: tester_V - Oct-30-2020, 02:58 AM - Forum: General Coding Help - Replies (3)

Hi, I'm having a problem printing the last element from a list.
I'm scanning a file for lines that have words 'find-1', 'find-2', 'find-3' and so on...... More

Print this item

  I'm getting a syntax error very early on in my code and I can't quite figure it out.
Posted by: liloliveoil - Oct-30-2020, 02:22 AM - Forum: Homework - Replies (1)

This is my freshman year in college and I had to take a python course. It hasn't been to easy with all reote classes. the goal of this program is for ..... More

Print this item

Smile send hexadecimal package variable UART
Posted by: santos20 - Oct-30-2020, 01:55 AM - Forum: General Coding Help - Replies (2)

Hello , guys
i am new using python i would like to send a package of hexadecimal values using the uart the problem it is two of the values are v..... More

Print this item

  On Win 10, no graphical window when run code
Posted by: ma2020uk - Oct-30-2020, 12:55 AM - Forum: GUI - Replies (10)

Hi
I am learning Python TKInter GUI.
I run following code on my Desktop running windows 10. The code runs but no root window appears.
If I run sam..... More

Print this item

  pygame blit() method
Posted by: syafiq14 - Oct-30-2020, 12:08 AM - Forum: Game Development - Replies (1)

why when I put the second argument of the blit() method with surf.get_rect() the image becomes in the upper left corner of the screen? When I change t..... More

Print this item

  detecting type of compression of a file
Posted by: Skaperen - Oct-29-2020, 11:31 PM - Forum: News and Discussions - Replies (1)

i would like a library function that can read the first 4096 bytes of a named file (no more than that, less if it can) and detect if it is a co..... More

Print this item

  AttributeError: '' object has no attribute 'tk'
Posted by: Maryan - Oct-29-2020, 10:27 PM - Forum: GUI - Replies (2)

I had to seperate this file from the main app, because had some errors that I had to fix them first. However, when I run the app I'm getting Attribute..... More

Print this item

  complicated dict comprehension
Posted by: rootVIII - Oct-29-2020, 07:02 PM - Forum: General Coding Help - Replies (4)

[python]


# Initial dictionary
d = {
'one': 'some val',
'two': 'some val',
'three': {
'subkey_1': 'some val',
's..... More

Print this item

  ntlk error shown
Posted by: ErnestTBass - Oct-29-2020, 06:39 PM - Forum: General Coding Help - Replies (2)

In the following code snippet:

[code]
# Instantiate the sentiment intensity analyzer
vader = SentimentIntensityAnalyzer()

# Set column names
..... More

Print this item

  Example of guizero ListBox
Posted by: jreebel - Oct-29-2020, 06:18 PM - Forum: GUI - Replies (1)

I just started using guizero in a game I am developing using pygame. It took some experimentation to get the ListBox to do what I wanted (it's in a d..... More

Print this item

  Clone with pywebcopy with proxy
Posted by: MeMyselfAndI - Oct-29-2020, 04:55 PM - Forum: General Coding Help - Replies (1)

Im struggling with pywebcopy and proxies. Its no problem to scrape a Onion site with BeautifulSoup(not the below code).

But im trying to use pywebc..... More

Print this item

  TypeError: only size-1 arrays can be converted to Python scalars
Posted by: RainbowTrish1 - Oct-29-2020, 04:01 PM - Forum: Homework - Replies (1)

Hi everyone,

Hope ye are all well.

I am extremely new to Python and have an assignment due tomorrow which I really struggled with, but happy at ..... More

Print this item

  Check internet speed
Posted by: ebolisa - Oct-29-2020, 03:16 PM - Forum: General Coding Help - Replies (1)

Hi,

I've a pissed poor WiFi internet connection. To prove it to my ISP, I'd like to log a constant connection speed (maybe every 30 seconds).

I..... More

Print this item

  Struggling for the past hour to define function and call it back
Posted by: godlyredwall - Oct-29-2020, 01:04 PM - Forum: General Coding Help - Replies (2)

Ok, so for the past hour i've been struggling to define a function and call it back, i dont know what im doing wrong i've done exactly how it says on ..... More

Print this item

  Extract data from PDF page to Excel
Posted by: nathan_nz - Oct-29-2020, 12:15 PM - Forum: General Coding Help - Replies (1)

Hi everyone, I am very new to coding and am wanting to create some code in python to extract data from a PDF file and transfer it into an excel sheet...... More

Print this item

  Continous Speech Recognition
Posted by: dell91 - Oct-29-2020, 10:51 AM - Forum: General Coding Help - No Replies

Hi all,

I am new to this forum and also a bit new to Python to be honest.

I decided to create a project with Python where a microphone listens t..... More

Print this item

Photo Raspberry PI writing to RS485 driver, DIR pin not holding state
Posted by: zazas321 - Oct-29-2020, 10:32 AM - Forum: General Coding Help - Replies (2)

Hello. I am writing data to my modbus DRIVER and learning about modbus in general. I am using logic analyzer to check my signals.

I have noticed a ..... More

Print this item

  sklearn.neural_network MLPClassifier forecast variances
Posted by: CK1960 - Oct-29-2020, 09:57 AM - Forum: Data Science - Replies (1)

Issue described below

Print this item

  Entry problem
Posted by: DPaul - Oct-29-2020, 09:24 AM - Forum: GUI - Replies (5)

Hi,

I have an app with a simple Tkinter GUI. It has an Entry box, where the user can type something or not.
[python]
entryText1 = Entry(root, width =..... More

Print this item

  POKE & PEEK...
Posted by: ATARI_LIVE - Oct-29-2020, 08:26 AM - Forum: General Coding Help - Replies (3)

In the basic language use POKE and PEEK. what do in python?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 1 hour ago Pedroski55 bowlofred General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  python re.finditer return... 01-09, 18:28 arbiel snippsat General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 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...
Most views
  The best Prog... 580721
  Tutorial Requ... 522049
  Web Scraping ... 442901
  New Users Int... 387924
  Newbie with P... 387124
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 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
starboy25 Today
zabenjamitop8877 Yesterday
zanaaliepetrovz6060 Yesterday
F_S 01-09
cruisesfares 01-09

User Panel Messages

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