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,261
» Latest member: SledgeNE
» Forum threads: 38,787
» Forum posts: 175,849

Full Statistics

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

Latest Threads
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 2
» Views: 75
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 41
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 1
» Views: 43
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
4 hours ago
» Replies: 5
» Views: 303
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 11:31 PM
» Replies: 0
» Views: 40
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 65
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 255
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 132
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 219
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 406

 
  Locate QR code on a page
Posted by: Pedroski55 - Jan-21-2021, 06:46 AM - Forum: General Coding Help - No Replies

I put a QR code on a page (actually top right corner, but with say about 1cm from the edges of the page)

This code (found on stackoverflow) successfu..... More

Print this item

  decoding backslash sequenses
Posted by: Skaperen - Jan-21-2021, 12:24 AM - Forum: News and Discussions - Replies (4)

i am getting some large strings (or bytes) with many kinds of backslash sequences including unicode sequences. is there a codec that can decode all o..... More

Print this item

  where is user cp button???
Posted by: rocket777 - Jan-21-2021, 12:15 AM - Forum: Board - Replies (2)

can't find the "user cp" that is the control panel. Nothing in the upper left corner, as the help says, looks like that. I want to verify that my emai..... More

Print this item

Shocked python example has me puzzled
Posted by: rocket777 - Jan-21-2021, 12:01 AM - Forum: General Coding Help - Replies (2)

I can't figure out how the program at:

https://www.programiz.com/python-program...-intervals

is working, but when I copy/past..... More

Print this item

  Help with removing spaces and tabs from a string
Posted by: msqpython - Jan-20-2021, 09:43 PM - Forum: Homework - Replies (14)

Could anyone please help me for this question. I am trying to write a program that removes all spaces and tabs from a string that the user gives but ..... More

Print this item

  Adding to the dictionary inside the for-loop - weird behaviour
Posted by: InputOutput007 - Jan-20-2021, 08:59 PM - Forum: General Coding Help - Replies (5)

I want to write a program in which as an input I take a list consisted of words which can contain punctuation marks. I built a dictionary where keys a..... More

Print this item

  python with gmail in windws10
Posted by: mchabane78 - Jan-20-2021, 08:09 PM - Forum: Networking - Replies (2)

Hi

i am using for first time python to send email in my small code and i am getting an error

[error][Running] python -u "c:\Telepin_14012021\T..... More

Print this item

  Button States
Posted by: Oshadha - Jan-20-2021, 03:13 PM - Forum: GUI - Replies (4)

Script
[python]
from tkinter import *

root = Tk()

def my_fun():
#make the my_btn state disabled
#do some thing else

my_btn = Button(r..... More

Print this item

  Meteostat - Historical Weather and Climate Data
Posted by: clampr - Jan-20-2021, 02:50 PM - Forum: Code sharing - Replies (1)

Hi everyone,

Today I want to share a Python library called Meteostat which provides historical weather and climate data for many weather stations w..... More

Print this item

  Making a colour field
Posted by: Leo_Red - Jan-20-2021, 01:48 PM - Forum: GUI - Replies (12)

Hi, I was making a pixel editor in python using pygame. So, I was checking sites to how to do specific things before starting and I did not find a way..... More

Print this item

  Opening new window
Posted by: ifigazsi - Jan-20-2021, 12:36 PM - Forum: GUI - Replies (2)

Hi!

I have a window, but i want to open another one, upon pushing a button. (so both of them should be open simultaneously)

[python]
import sys..... More

Print this item

  Close script from another script
Posted by: ilgrabbo - Jan-20-2021, 10:00 AM - Forum: General Coding Help - Replies (12)

hi everyone I'm new to the forum, I wanted to ask if there was a way to close a script from another script
for example:
suppose two scripts in while..... More

Print this item

  Please can you help
Posted by: sabe - Jan-20-2021, 09:58 AM - Forum: Homework - Replies (1)

TOPİC WAS CLOSEd

Print this item

  How can I install PyGMO in Python3.8?
Posted by: TheGreatGhalib - Jan-20-2021, 09:32 AM - Forum: News and Discussions - Replies (1)

I want to use the PyGMO package (https://esa.github.io/pygmo/install.html). I use Pycharm with Python3.8, because I have never managed anything in thi..... More

Print this item

Question Play again, in a guessing game
Posted by: banidjamali - Jan-20-2021, 08:03 AM - Forum: Homework - Replies (4)

Hello!

Here the computer comes up with a number in range(1, 9), and we try to guess it, until we come up with the correct number.
We can exit any..... More

Print this item

  So, a mass of errors trying to run a zipline-dependant program on 3.5 env
Posted by: Evalias123 - Jan-20-2021, 07:07 AM - Forum: General Coding Help - Replies (2)

After a day and a half rasslin' with getting zipline to work, let me tell you, that was fun, got a whole bunch of these:


[error]

------------------..... More

Print this item

  Is there a graph package with the possibility of user settings?
Posted by: AlekseyPython - Jan-20-2021, 05:12 AM - Forum: Data Science - Replies (1)

Python 3.8.5

To analyze a dataframe, I use the Matplotlib package, in which for any change of the chart, I have to make changes to the program code. ..... More

Print this item

  Four sequential bytes; Need to remove high order bit in each to get correct output
Posted by: GrandSean - Jan-20-2021, 03:22 AM - Forum: General Coding Help - Replies (5)

I am writing program to manipulate the contents of an .MP3 file. In reading the header in
binary(byte) mode, decoding the header Size field is giving..... More

Print this item

  Use different Anaconda environments on Linux Mint and Spyder
Posted by: StaLLoNe_CoBRa - Jan-20-2021, 03:11 AM - Forum: General Coding Help - No Replies

I'm trying to use and install packages in more than one environment through Anaconda 4.9.2 (I use Linux Mint 20 and Spyder 4.1.5)..... More

Print this item

  How to retrieve liststore iter when treeview row selected using sort and filter
Posted by: jimofmex - Jan-20-2021, 02:01 AM - Forum: GUI - Replies (4)

My code works correctly when I pass a liststore to a treemodelsort which is passed to a treeview. I can select a row in the treeview and delete the co..... More

Print this item

  Finding location within a premises
Posted by: metro17 - Jan-19-2021, 11:24 PM - Forum: General Coding Help - Replies (1)

What are the options of building an app/web application to track people within a premises/building accurately.Does python have any geolocation package..... More

Print this item

  losing memory
Posted by: antioch - Jan-19-2021, 10:06 PM - Forum: General Coding Help - Replies (1)

heres a script to detect and record sound that ive been hacking on for a while. it works great, except that its memory usage grows after every success..... More

Print this item

  Making a code.py file to function, does not run
Posted by: hobbyist - Jan-19-2021, 09:12 PM - Forum: General Coding Help - Replies (6)

Why could a code that I wrote, runs perfectly as let's say mycode.py file, and when I make this code a function, let's say

[python]
def myfunctio..... More

Print this item

  How to make boolean if's name specific?
Posted by: TMoore - Jan-19-2021, 08:21 PM - Forum: Homework - Replies (2)

I am currently taking an AP Computer Science course, and I was doing fine until I came across this assignment. I do not know how to make an if stateme..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to make ball stay wit... 1 hour ago nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 3 hours ago Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 3 hours ago Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... 4 hours ago Skaperen DeaD_EyE News and Disc...
  conditional nested loops Yesterday, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
Most views
  The best Prog... 578989
  Tutorial Requ... 510627
  Web Scraping ... 442002
  Newbie with P... 386032
  New Users Int... 377221
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 8195
snippsat 7388
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday

User Panel Messages

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