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,953
» Latest member: bianchiluca116
» Forum threads: 38,726
» Forum posts: 175,521

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, Facebook, Applebot, Mojeek, AOL

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: RonR
1 hour ago
» Replies: 0
» Views: 44
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 10
» Views: 29,261
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,359
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 227
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 667
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 255
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 843
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,104
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,335
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,702

 
  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
  [Tkinter] how to export a... 1 hour ago RonR RonR GUI
  pip install requests does... 8 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
Most views
  The best Prog... 576818
  Tutorial Requ... 499235
  Web Scraping ... 440604
  Newbie with P... 384581
  New Users Int... 368470
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+ 12088
buran 8176
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bianchiluca116 Today
Jorgecog Today
adamsmith12 Today
Ronny Today
Luciana Today

User Panel Messages

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