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,943
» Latest member: Wendycutler05
» Forum threads: 38,725
» Forum posts: 175,520

Full Statistics

Online Users
There are currently 69 online users.
» 0 Member(s) | 64 Guest(s)
Bing, AOL, Google, AOL, Mojeek

Latest Threads
A Beacon of Hope on succe...
Forum: General Coding Help
Last Post: Wendycutler05
41 minutes ago
» Replies: 0
» Views: 15
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
2 hours ago
» Replies: 2
» Views: 365
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
3 hours ago
» Replies: 0
» Views: 30
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 9
» Views: 510
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,717
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,055
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,409
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,961
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,722
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,795

 
  Buttons don't work
Posted by: Heyjoe - Jan-19-2021, 07:10 PM - Forum: GUI - Replies (3)

I wrote the following program because I am trying to understand TKinter and classes.

I want the code to print "blue square" when I click the blue..... More

Print this item

Question Get a range from GUI ?
Posted by: water - Jan-19-2021, 05:55 PM - Forum: GUI - Replies (7)

I want to make a widget like this:
[Image: 111.jpg]

Get a range from GUI via mouse(e.g. return (1, 3) or (16, 23)...), ..... More

Print this item

  What is the subscript error?
Posted by: Oshadha - Jan-19-2021, 05:39 PM - Forum: GUI - Replies (3)

Really, Really long script,
[python]
from tkinter import *

main = Tk()
main.title("1. Unit & Dimentions")

#root.geometry("1600x800+0+0")

r..... More

Print this item

  Why does await only work in async?
Posted by: n4te99 - Jan-19-2021, 09:46 AM - Forum: News and Discussions - No Replies

Hello everyone,

after reading a basics book on Python I started to look into more advanced topics.
Now I am trying to understand how Asynchronous ..... More

Print this item

  Cut and Paste
Posted by: Oshadha - Jan-19-2021, 09:34 AM - Forum: General Coding Help - Replies (3)

I have these folders,

my folder
~|--assets
~|~~~|--logo.ico
~|script.py

script.py and assets are in my folder
logo.ico is in assets folder...... More

Print this item

  Proxy Checking Software Error
Posted by: rizzla - Jan-19-2021, 08:47 AM - Forum: General Coding Help - Replies (5)

Hey guys i have this code that i have been working on and all it does is checks if a proxy is valid or not. Though it produces no error, it dosent see..... More

Print this item

Question Rock, paper, scissors spelling error
Posted by: banidjamali - Jan-19-2021, 08:42 AM - Forum: Homework - Replies (6)

Hello! Hope everybody's fine.

Here I have written a RPS game:

[python]
player1 = input("Give player 1 a name:\n")
player2 = input("Give player..... More

Print this item

  Some help with Dictionaries
Posted by: Oshadha - Jan-19-2021, 06:23 AM - Forum: General Coding Help - Replies (3)

Script,
[python]
a_dic = {
"a" : [":D", ":)"],
"b" : ["lol", "XD"],
"c" : ["lol", ">:"],
"d" : [":)", "XD"]
}

[/pyth..... More

Print this item

  Failing to copy file from a network to a local drive
Posted by: tester_V - Jan-19-2021, 04:25 AM - Forum: General Coding Help - Replies (4)

Hi,
I'm trying to copy files from a network folder.
For some reason my code produces an error:
[python]
import os
import shutil

fname = 'somel..... More

Print this item

  While True Problem
Posted by: StingingNeedles - Jan-19-2021, 02:56 AM - Forum: Homework - Replies (8)

I am new to python and I am trying some practice problems and I can get this one to work:

-Prompt user for an integer between 1 and 10 and re-prompt ..... More

Print this item

Question I can't get my real-time chart with Python (Help!)
Posted by: Bastian_ElProfe - Jan-18-2021, 07:44 PM - Forum: General Coding Help - Replies (1)

Good morning everybody,

I am working on a Biomedical project, I am working with two Arduino nano and 2 MPU6050 sensors, an Arduino goes with a mpu ..... More

Print this item

  Two numpy arrays
Posted by: Sandra2312 - Jan-18-2021, 05:27 PM - Forum: General Coding Help - Replies (1)

I have two numpy arrays (3, n) which represent 3D coordinates.

I want to calculate the distance to every point in array B for each point in array A..... More

Print this item

  Animated scatter plot
Posted by: maximan - Jan-18-2021, 02:51 PM - Forum: General Coding Help - No Replies

I try to get a animated scatter plot, in which a y value is plotted for every x, each second.

x = np.array(range(0,750))
y = np.array(np.random.ra..... More

Print this item

  Logic error - I need User_1 and User_2 to become true when both users sign in.
Posted by: BruhMoments - Jan-18-2021, 02:51 PM - Forum: Homework - Replies (3)

Hi all,

I have been asked to design a basic dice roll game over the course of 20 hours, and all was swell until I came across a logic error. The c..... More

Print this item

  How to improve this Python 3 code?
Posted by: iamaghost - Jan-18-2021, 02:25 PM - Forum: Code Review - Replies (6)

I have a .txt file with names and their school grades.

i wrote a program to output the name of a student + his/her average grade.
I find my approa..... More

Print this item

  how to pass named arguments
Posted by: arunan - Jan-18-2021, 01:07 PM - Forum: Homework - Replies (1)

This is the program from my course:

[python]from matplotlib import animation
import matplotlib.pyplot as plt
import random
import seaborn as sn..... More

Print this item

  Selecting rows that contain certain values using two alternatives
Posted by: tgottsc1 - Jan-18-2021, 12:49 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I have a dataset and the following code:

a = dataset.set_index('c', append=True).sort_index()
This generates a tab..... More

Print this item

  Beautiful Soap can't find a specific section on the page
Posted by: Pavel_47 - Jan-18-2021, 11:42 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

Here is my code to explore this page:
..... More

Print this item

  Missing 1 required positional argument in python code
Posted by: edwinostby - Jan-18-2021, 11:24 AM - Forum: Homework - Replies (7)

Hey, I have an assignment due this week. The given task is to solve a differential equation by using Euler's method, the task is;

Solve the different..... More

Print this item

  Unable to install matplotlib
Posted by: arunan - Jan-18-2021, 09:59 AM - Forum: Homework - Replies (2)

I am using the OS Ubuntu 20.04 and I have installed anaconda Python. I am following a course in orielly and the instructor asked to execute the below ..... More

Print this item

  help with PyAudio
Posted by: Leo12143 - Jan-18-2021, 08:27 AM - Forum: General Coding Help - Replies (1)

Hello, i need help with pyaudio, i do everything i can, but my Pycharm dont let me install that import, so please help me

Print this item

  ttk-->treeview-->tag_configure() not work over Python3.6
Posted by: hqbfljx - Jan-18-2021, 06:28 AM - Forum: GUI - Replies (10)

Hi everyone, I am new comer of this forum.
I got a problem relate to the with the ttk treeview:
### With the Python 3.6.12 the ttk-->treeview-->tag_..... More

Print this item

  Plot Graph
Posted by: quest_ - Jan-17-2021, 11:37 PM - Forum: General Coding Help - Replies (2)

I have 4 different value and I have 1 corresponding value for these 4 value

I mean,
When a, b, c, d = 0.1, 0.2, 0.3, 0.4 the corresponding G value ..... More

Print this item

  Color Formatting for Bar Graphs in a for loop
Posted by: adamszymanski - Jan-17-2021, 10:05 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to create a set of bar graphs using a code shared with me by a colleague. I am quite new to python so I am trying to use this co..... More

Print this item

  Giving all possible values to four different variables
Posted by: quest_ - Jan-17-2021, 08:23 PM - Forum: General Coding Help - Replies (7)

I have for different values which are a b c d. Their sum should be always 1
And they can take 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 but the sum ..... More

Print this item

  Error - ManyToMany Fields in Django
Posted by: rob25111 - Jan-17-2021, 04:54 PM - Forum: Web Scraping & Web Development - No Replies

I have this error in Django :

Quote: __str__ returned non-string (type SimpleLazyObject)

idk why..
I'm learning Django and I don't know to..... More

Print this item

  Functions & Passing Parameters
Posted by: KAShears79 - Jan-17-2021, 04:22 PM - Forum: Homework - Replies (3)

Hi

Just started to learn coding so I hope this is an easy question for someone else to help with :)

I've written the code below and expect it t..... More

Print this item

  Adding graph points and formating
Posted by: project_science - Jan-17-2021, 03:35 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm creating a code to input 2 points, (x,y) from the user. I've done that, and now I'd like to add these. However, I want to display the poi..... More

Print this item

  Using range slider in flask webpage to use in python
Posted by: KimPet - Jan-17-2021, 02:11 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi, I am working on my project to control my servo through python and a flask webpage.


I have been looking around for a simple way to constantly ..... More

Print this item

  Help visualizing and print out
Posted by: Tabary - Jan-17-2021, 01:23 PM - Forum: General Coding Help - Replies (3)

Sir, Please Help
I make this code from following tutorial on youtube
It supposed to predict price on stock or forex market.
I write the code from ..... More

Print this item

  Calculate transformation and Rotation
Posted by: Sandra2312 - Jan-17-2021, 10:59 AM - Forum: General Coding Help - Replies (1)

Hello everyone
First of all, I would like to apologize for my poor English.
my problem is this:

I have a (synthetic) point cloud of a building th..... More

Print this item

  How to update widgets?
Posted by: Oshadha - Jan-17-2021, 10:13 AM - Forum: GUI - Replies (1)

Script,
[python]
from tkinter import *

main = Tk()
main.title("1. Unit & Dimentions")
#root.geometry("1600x800+0+0")

#Var Details
length = ..... More

Print this item

  question about bot for mmo game
Posted by: rachidel07 - Jan-17-2021, 09:43 AM - Forum: General Coding Help - Replies (1)

hello everybody,
i have no idea on programing so istarted learning PYthon . i watch begginer courses and videos.
i learn python in order to be able ma..... More

Print this item

  Top 3 students
Posted by: banidjamali - Jan-17-2021, 09:08 AM - Forum: Homework - Replies (4)

Hello everyone. Hope you are all having a great time.

Here's a simple question:

There's a dictionary, and I want to extract the top 3 students f..... More

Print this item

  How to get GUI builder Kivy to work with Pycharm?
Posted by: river251 - Jan-17-2021, 03:30 AM - Forum: General Coding Help - Replies (3)

I want to create a GUI with start and stop buttons for the python script I've written using Pycharm on my Mac. Kivy claims to be cross platform compat..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A Beacon of Hope on succe... 41 minutes ago Wendycutler05 Wendycutler05 General Codin...
  A coding beginner needs h... 2 hours ago Littlefish Littlefish General Codin...
  Is the interpreter that c... 3 hours ago helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 8 hours ago 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
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
Most views
  The best Prog... 576658
  Tutorial Requ... 498773
  Web Scraping ... 440496
  Newbie with P... 384429
  New Users Int... 367940
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+ 12087
buran 8175
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
Wendycutler05 Today
helendamdam Today
pllrdvalery Yesterday
Littlefish Yesterday
Noya_Yonatan 09-21

User Panel Messages

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