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,425
» Latest member: Ronnieref
» Forum threads: 38,832
» Forum posts: 176,081

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 24 Guest(s)
Bing, Applebot, Google, AOL

Latest Threads
Купить розы в Томске
Forum: General Coding Help
Last Post: Ronnieref
5 minutes ago
» Replies: 0
» Views: 7
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 6
» Views: 161
we open-sources faster py...
Forum: Code sharing
Last Post: tomtyiu
3 hours ago
» Replies: 0
» Views: 13
Ко ланта
Forum: General Coding Help
Last Post: RaymondNaw
4 hours ago
» Replies: 0
» Views: 16
Life advice
Forum: Bar
Last Post: Josephbar
6 hours ago
» Replies: 3
» Views: 3,583
Exponential Number Conver...
Forum: General Coding Help
Last Post: Jessicaadams
Yesterday, 02:41 PM
» Replies: 5
» Views: 504
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Jan-11-2026, 05:21 AM
» Replies: 3
» Views: 759
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Jan-11-2026, 02:57 AM
» Replies: 8
» Views: 552
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 847
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,796

 
  [split] Help with learning threading please.
Posted by: kalinuxman - Sep-02-2020, 12:14 AM - Forum: General Coding Help - Replies (1)

Hi guys I write this simple code

[align=center][b][color=#E74C3C][font=Comi..... More

Print this item

  DNP3 file transfer with python
Posted by: Aussie - Sep-01-2020, 10:45 PM - Forum: General Coding Help - No Replies

Hi,
has anyone had anything to to with DNP3 file transfer using python?
Or something similar that may help get an understanding.
Thanks,

Print this item

  help pls!
Posted by: dirtdude - Sep-01-2020, 10:41 PM - Forum: General Coding Help - Replies (2)

uncomfirmedusers = ['bob','joe','mikey']
comfirmedusers = []

while uncomfirmedusers:
currentuser = uncomfirmedusers.pop()


print("v..... More

Print this item

  Outlook Emails & HTML Table in Message Body
Posted by: JoeDainton123 - Sep-01-2020, 09:43 PM - Forum: General Coding Help - Replies (1)

Hi all

I was hoping someone could help me with the following python problem.

I am trying to send emails from my outlook account via python. I am..... More

Print this item

  local variable 'spider_1_health' referenced before assignment
Posted by: Tbot1000 - Sep-01-2020, 08:56 PM - Forum: Game Development - Replies (1)

Hello!
I've been coding a text based game which includes many variables, I have condensed the code more to make it easier to debug. I have a problem ..... More

Print this item

  Help needed for a python package
Posted by: keysson - Sep-01-2020, 08:30 PM - Forum: General Coding Help - Replies (1)

Hi!
I really need help using this python package: https://github.com/ML-KULeuven/socceraction

I have data in xml from Opta, and I want to use this..... More

Print this item

  have problem printing after ‘else’
Posted by: tester_V - Sep-01-2020, 07:01 PM - Forum: General Coding Help - Replies (11)

Hi,
I have 100mb files and I’m looking for some lines (find1, find2, find3 and so on) in each file.
I’d like to print out to a file:
‘file name’ ..... More

Print this item

  Incrementing variable counter
Posted by: Milfredo - Sep-01-2020, 06:57 PM - Forum: General Coding Help - Replies (4)

This is a general question.

Function one uses ypos as variable for the y ie; place(x = 400, y=y_pos)

function two uses it also.


func..... More

Print this item

  getting a file in memory
Posted by: Skaperen - Sep-01-2020, 06:52 PM - Forum: News and Discussions - Replies (4)

you are creating a script using a new module. it has just one function. the documentation is very short and simple and says that the return value of..... More

Print this item

  Tkinter: How to assign calculated value to a Label
Posted by: LoneStar - Sep-01-2020, 06:33 PM - Forum: GUI - Replies (7)

I'm using Python3.8 for my raspberry pi4 project. I have a GUI that initially displays the label within a grid. I also have a button that when click..... More

Print this item

  Creating a “Player” class, and then importing it into game
Posted by: onizuka - Sep-01-2020, 04:44 PM - Forum: Game Development - Replies (4)

I moved the "player" functions to the class.I have a problem with drawing.I get an error "TypeError: draw() missing 1 required positional argument: 's..... More

Print this item

  Create Python executable
Posted by: GabrielPoppes - Sep-01-2020, 04:34 PM - Forum: GUI - No Replies

Hello, I am breaking my head for a few days with a problem ... I finished an application in Python, and in the graphical interface I used QT Designer,..... More

Print this item

  math problem using recursion?
Posted by: mnh001 - Sep-01-2020, 03:54 PM - Forum: Homework - Replies (14)

First the problem.
1. Start with a semi-prime (eg, 15 = 3 * 5).
2. Take the factors and concatenate them both forwards and backwards to give 2 new n..... More


Attached Files

Thumbnail(s)
   
Print this item

  Create homogeneous groups with Kmeans ?
Posted by: preliator - Sep-01-2020, 02:28 PM - Forum: General Coding Help - No Replies

Hello to all,

I recently started to study automatic classification using the K-Means method, a method that interests me greatly. For the example, I..... More

Print this item

  displaz current value
Posted by: vidzius - Sep-01-2020, 01:45 PM - Forum: GUI - No Replies

Hello to all forum members. I'm just learning python and I decided to create a graphical window and in the second thread the displayed values ​​in the..... More

Print this item

  How to send notifications to gmail from contact form using Django and pushbullet
Posted by: Justchse - Sep-01-2020, 01:19 PM - Forum: Web Scraping & Web Development - No Replies

I'm helping someone update a website that was built a few years ago using Django. On the site there is a contact form that a user fills out and the re..... More

Print this item

  What is meant by "truncates the file" RE file.open(w+b)?
Posted by: MysticLord - Sep-01-2020, 10:15 AM - Forum: General Coding Help - Replies (5)

https://docs.python.org/3/library/functions.html#open

[quote]The default mode is 'r' (open for reading text, synonym of 'rt'). Modes 'w+' and 'w+b' o..... More

Print this item

  Move mouse and click in particular position
Posted by: biprabu - Sep-01-2020, 10:14 AM - Forum: General Coding Help - Replies (3)

Hi All,
I am new to python.please help me to solve the requirement

Step
1) I have to open a application
2)move the mouse to its menu area and cl..... More

Print this item

  Add a new line to a CSV in one column
Posted by: bazcurtis - Sep-01-2020, 10:01 AM - Forum: General Coding Help - Replies (7)

Hi,

I have a report that is stored in a list. One of the columns will return multiple entries. I would like to a new line between each entry. Is th..... More

Print this item

  How to make a github bot
Posted by: Harshil - Sep-01-2020, 09:31 AM - Forum: General Coding Help - Replies (3)

Hey! I Want to make a github bot googled but ran into many problems!
IF any ideas plz tell me?

Print this item

  Interviewing beginner and intermediate Python coders
Posted by: pompi - Sep-01-2020, 09:03 AM - Forum: News and Discussions - Replies (2)

Hi everyone,

I am soon becoming a CS teacher for Python beginners, but before I start I thought I would talk to some of you about some of the chall..... More

Print this item

  index error when using lists to blit rotated images
Posted by: codefun45 - Sep-01-2020, 06:25 AM - Forum: Game Development - Replies (7)

Hello, I am getting an index error when trying to use lists of rotated images. originally, to rotate images of 2 spaceships (think asteroids), I used..... More

Print this item

  Problem with matplotlib
Posted by: ncm1234 - Sep-01-2020, 01:42 AM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to make a relatively simple graph in matplotlib but for some reason it keeps coming out looking totally wrong. I'm trying to grap..... More

Print this item

  How to show images
Posted by: gr3yali3n - Sep-01-2020, 01:14 AM - Forum: General Coding Help - Replies (1)

How would I show an image file? So, I have in mind a simple enough piece of code ask for input
What is your favorite planet?
Now output a picture ..... More

Print this item

  Binary File Read
Posted by: Aussie - Sep-01-2020, 12:42 AM - Forum: General Coding Help - Replies (6)

Hi, I have tried a number of examples to try and get the code below to step through correctly.
The header needs to be stepped through once and the sa..... More

Print this item

  Help a programming Noob out please
Posted by: sebz2019uk - Sep-01-2020, 12:34 AM - Forum: GUI - Replies (1)

Hey guys. What I'm trying to achieve is to output the text for the text string generator out to a text box on my GUI.
Im at my wits end with this hah..... More

Print this item

  Using a button to kill and restart a script
Posted by: duckredbeard - Aug-31-2020, 11:46 PM - Forum: General Coding Help - Replies (3)

I have a program that monitors a scale and uses LEDs to indicate the weight of the object on the scale. At the start of the script, it gets all the p..... More

Print this item

  While statement explanation
Posted by: alkhufu2 - Aug-31-2020, 11:45 PM - Forum: Homework - Replies (3)

I am new to Python. I get while and for loops pretty well so far but I DO NOT understand the output of this code. Please explain this. I would most..... More

Print this item

  I pledge my allegiance to Python
Posted by: sprotz - Aug-31-2020, 08:56 PM - Forum: News and Discussions - Replies (1)

I have fallen in love with Python. Heart It is such an easy programming language. Simple easy to understand syntax yet powerful. For the first t..... More

Print this item

  Dual Tkinter windows and shells
Posted by: Astrikor - Aug-31-2020, 08:54 PM - Forum: GUI - Replies (6)

I have two files with similar coding in each and I want to send data from one file to the other by calling it's function.
I want the result to be a T..... More

Print this item

  Problem with storing data in SQLAlchemy db
Posted by: marcello86 - Aug-31-2020, 08:23 PM - Forum: General Coding Help - Replies (1)

Hi there! I need urgent help, I have been stuck on this for days now.
My app needs the FTP password to ftp some file to another PC, I can't write the ..... More

Print this item

  Problem with Flask Bcrypt import module
Posted by: marcello86 - Aug-31-2020, 07:52 PM - Forum: General Coding Help - Replies (2)

Hi there I need urgent help I have been stuck on this for days now,
in my code I need to use the function generate_password_hash which is in bcrypt b..... More

Print this item

  How to time a user's input
Posted by: Tbot1000 - Aug-31-2020, 06:27 PM - Forum: General Coding Help - Replies (2)

Hello again!

For a text-based game I am making, combat is an essential part. I have chosen to make a timed system, where the quicker you press a ce..... More

Print this item

  Select the other of 2 items in a list
Posted by: Clunk_Head - Aug-31-2020, 06:23 PM - Forum: General Coding Help - Replies (7)

I have a bit of code that selects the other of two items in a list. It works fine but I'm wondering if there a more pythonic way of doing it
[python]..... More

Print this item

  optimization problem for dataframe manipulation
Posted by: fimmu - Aug-31-2020, 06:02 PM - Forum: General Coding Help - No Replies

Hi, I am kind of new and learning python. Here I have an optimization problem and hope someone can help me through:

Let inventories be a dataframe,..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Купить розы в Томске 5 minutes ago Ronnieref Ronnieref General Codin...
  If I open a file write or... 2 hours ago Pedroski55 Pedroski55 General Codin...
  we open-sources faster py... 3 hours ago tomtyiu tomtyiu Code sharing
  Ко ланта 4 hours ago RaymondNaw RaymondNaw General Codin...
  Life advice 6 hours ago jamesaarr Josephbar Bar
  Exponential Number Conver... Yesterday, 14:41 Tuurbo46 Jessicaadams General Codin...
  a function to watch files 01-11, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... 01-11, 02:57 arbiel Pedroski55 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
Most views
  The best Prog... 580766
  Tutorial Requ... 522465
  Web Scraping ... 442927
  New Users Int... 388267
  Newbie with P... 387150
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
Ronnieref Today
tomtyiu Today
RaymondNaw Yesterday
Josephbar Yesterday
zaasheytop3010 Yesterday

User Panel Messages

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