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,275
» Latest member: cruisesfares
» Forum threads: 38,788
» Forum posts: 175,861

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 44 Guest(s)
Bing, Google, Mojeek, Applebot

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
11 hours ago
» Replies: 1
» Views: 96
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Yesterday, 06:47 PM
» Replies: 2
» Views: 178
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Yesterday, 04:13 PM
» Replies: 5
» Views: 3,097
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 216
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 202
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 153
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 204
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 375
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 89
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 399

 
  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

  Variable Manipulation
Posted by: Tbot1000 - Aug-31-2020, 04:24 PM - Forum: General Coding Help - Replies (7)

I have been working on a game which involves leveling up skills through different tasks. When a person types /m in the console and is in the coal mine..... More

Print this item

  Data from Excel GUI
Posted by: maaad - Aug-31-2020, 04:21 PM - Forum: GUI - Replies (1)

I`m beginner in Python, could you please help to adopt the script above and add my df:

..... More

Print this item

  Generate questions from excel to test my chatbot
Posted by: mcubac08 - Aug-31-2020, 01:21 PM - Forum: General Coding Help - Replies (5)

Hello Everyone!
I am new in Python, but I am learning a lot from a Coursera Course. I have an excel document with lots of questions/phrases, i.e. [i..... More

Print this item

  iteration stops
Posted by: d8a988 - Aug-31-2020, 12:04 PM - Forum: Data Science - Replies (4)

quick question:

the following loop
[python]
list_nums= [i for i in range(15)]

for i in range(len(list_nums)):
if list_nums[i]<9:
..... More

Print this item

  Advanced Algorithms and Computational Models
Posted by: hafedh - Aug-31-2020, 11:38 AM - Forum: Homework - Replies (4)

[python]import random
import math
import numpy as np
import matplotlib.pyplot as plt
from collections import Counter
import matplotlib



class gra..... More

Print this item

  How to work with multiple files and tkinter?
Posted by: philipbergwerf - Aug-31-2020, 10:14 AM - Forum: General Coding Help - Replies (3)

I have a beginners question about importing files and not being able to use a function in this file because it can't 'look back'.

I have two files...... More

Print this item

  SQLAlchemy Flask ERROR: no such column XXX
Posted by: marcello86 - Aug-31-2020, 09:21 AM - Forum: General Coding Help - No Replies

Hi there I'm trying to store a password in the db with SQLAlchemy, it's an FTP password that the application needs to submit some file, I was keeping ..... More

Print this item

  5 variants to invert dictionaries with non-unique values
Posted by: Drakax1 - Aug-31-2020, 09:20 AM - Forum: General Coding Help - Replies (2)

Hi all,

I was wondering if it was possible to rewrite the variants #1 #2 or #3 into a single line of code like variants #4 and #5?

[pytho..... More

Print this item

  Spent over an hour trying to get matplotlib to work
Posted by: Tomalak - Aug-31-2020, 08:54 AM - Forum: Data Science - Replies (10)

Is anyone able to help? I have Python 3.8 installed on my Windows 10 system (and the installation did apparently show as working).

But when I attem..... More

Print this item

  error : "Microsoft Visual C++ 14.0 is required. " Even its installed
Posted by: Barak - Aug-31-2020, 07:41 AM - Forum: General Coding Help - Replies (4)

Hi

just started using pycharm
I fail to install libraries and get this error
is something missing in my system ?

I use Win 10

thank you..... More

Print this item

  Serial port Auto detection GUI Tour
Posted by: PA3040 - Aug-31-2020, 07:19 AM - Forum: GUI - No Replies

Dear All I have decided to start a education lesson for those who come to serial port and Serial Port GUI like auto port detection while learning my ..... More

Print this item

  Review my code and Help me in Improving it.
Posted by: Novak - Aug-31-2020, 06:33 AM - Forum: GUI - Replies (1)

I was writing a GUI program in wxpython and at the completion of the program the window pops up for a split second and vanishes. Why?

[python]impor..... More

Print this item

  Tuple comprehension to for loop help
Posted by: jsuh21 - Aug-31-2020, 05:55 AM - Forum: General Coding Help - Replies (3)

Hello, I am currently taking a python course online. My class recently went over making a password checker api. If you take a look below, there is def..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 11 hours ago Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... Yesterday, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python Yesterday, 16:13 dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
Most views
  The best Prog... 579152
  Tutorial Requ... 511558
  Web Scraping ... 442095
  Newbie with P... 386186
  New Users Int... 378785
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+ 12108
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17

User Panel Messages

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