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 67 online users.
» 0 Member(s) | 63 Guest(s)
Bing, AOL, Google, AOL

Latest Threads
A Beacon of Hope on succe...
Forum: General Coding Help
Last Post: Wendycutler05
43 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

 
  Cannot Assign right Answers To Shuffled Questions
Posted by: Boblows - Jan-21-2021, 06:50 PM - Forum: General Coding Help - Replies (6)

Hello guys,just started coding with python and come up with an idea of writing multiple choice exam wich shuffles the questions with random.shuffle i..... More

Print this item

  getpass.getpass error
Posted by: Juice1277 - Jan-21-2021, 06:49 PM - Forum: General Coding Help - Replies (3)

Hey guys I'm getting this error when trying to run my code. Anyway someone could help me out. Thanks!
Bellow is the command line trying to run th..... More

Print this item

  Where to add own python modules in WinPython?
Posted by: HinterhaeltigesSchlaengelchen - Jan-21-2021, 04:11 PM - Forum: General Coding Help - Replies (1)

i have a WinPython distribution decicated to a project that is used by multiple developers. I added all modules required for the project via WinPython..... More

Print this item

  .remove() from a list - request for explanation
Posted by: InputOutput007 - Jan-21-2021, 03:52 PM - Forum: General Coding Help - Replies (3)

Hi guys,

I am learning python and I came across a weird thing which is hard for me to find the cause of it.
Here is my code:
[python]
l = [1, 2,..... More

Print this item

  School project
Posted by: janivar91 - Jan-21-2021, 03:29 PM - Forum: Homework - Replies (3)

Hello. I'm struggling with a school project. I'm fairly new to Python, and I'm hoping for some great suggestions to solve my problem.

What I am try..... More

Print this item

  HELP! Importing json file into csv into jupyter notebook
Posted by: vilsef - Jan-21-2021, 01:34 PM - Forum: Data Science - Replies (2)

Im trying to access data for Magic the gathering to process it in a pandas dataframe using Jupyter Notebook.

The data is downloaded from this webs..... More

Print this item

  Function encapsulation
Posted by: Oldman45 - Jan-21-2021, 01:32 PM - Forum: General Coding Help - Replies (4)

I need help please.
I am trying to learm Python and work with Python 3.83.5 using How To Think Like A Computer Scientist as a guide. I am at Chapter..... More

Print this item

  Sorting data
Posted by: pprod - Jan-21-2021, 10:20 AM - Forum: General Coding Help - Replies (4)

Hello,

Suppose a regular expression that extracts, say, the characters below and outputs them in the following order:
A
B
C
D

My goal is to ..... More

Print this item

  Need help with code
Posted by: Devaraja - Jan-21-2021, 10:04 AM - Forum: Homework - Replies (3)

I have an assignement to make app that list songs lenght in seconds and then in minutes, but i don't know how to do it.
Here is what i have but obvio..... More

Print this item

  Behaviour of 2D array
Posted by: SimonB - Jan-21-2021, 09:48 AM - Forum: General Coding Help - Replies (6)

My intention is to populate a 2d array with booleans at a certain DENSITY. Although the function "populate" seems to do the right thing up to exiting ..... More

Print this item

  random fiber distribution for composite analysis
Posted by: pvdivakarraju - Jan-21-2021, 07:04 AM - Forum: General Coding Help - Replies (1)

how to generate random circles inside a square with a fraction of 60% as well as it should maintain periodicity(a portion of the circle going out at b..... More

Print this item

  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 (11)

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A Beacon of Hope on succe... 43 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... 367941
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