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,957
» Latest member: helenchris842
» Forum threads: 38,728
» Forum posts: 175,528

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 42 Guest(s)
Bing, AOL, Google, Apple

Latest Threads
ARE YOU A VICTIM OF A CRY...
Forum: General Coding Help
Last Post: helenchris842
1 hour ago
» Replies: 0
» Views: 20
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 2
» Views: 160
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Today, 03:45 AM
» Replies: 3
» Views: 213
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Today, 01:04 AM
» Replies: 0
» Views: 386
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,465
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,442
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 320
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 777
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 990
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,255

 
  Python Dictionary Comprehension
Posted by: jamessidis - Sep-21-2020, 09:57 AM - Forum: Tutorial Requests and Submissions - Replies (3)

If you want to learn more about Python dictionary comprehension, This tutorial is for you.

Print this item

  Compiling SlicerCAT
Posted by: flaviu2 - Sep-21-2020, 08:28 AM - Forum: General Coding Help - Replies (1)

I have read here: https://blog.kitware.com/slicercat-creat...3d-slicer/
that I need to install Python in order to compil..... More

Print this item

  Create code for input names and score for 15 student
Posted by: Davin - Sep-21-2020, 06:59 AM - Forum: Homework - Replies (2)

How i create a code using array and index for making table for input score and name for 15 student. Please help me .....

Print this item

  Error in Mysql Client when upgrading Django
Posted by: Abi - Sep-21-2020, 06:11 AM - Forum: General Coding Help - No Replies

After Installing the Latest Django version
it asked me to upgrade Mysql clent as well
like

File "/usr/lib/python3.6/site-packages/django/db/backe..... More

Print this item

  In need of web scraping code!
Posted by: kolbyng - Sep-21-2020, 04:07 AM - Forum: Web Scraping & Web Development - Replies (1)

I want a web scraping Python code. The website format is like this: https://animalcrossing.fandom.com/wiki/"Villager name". I want the user to input t..... More

Print this item

  looking for a custom exception
Posted by: JarredAwesome - Sep-21-2020, 02:26 AM - Forum: General Coding Help - Replies (5)

Hey everyone,

I am working on a python script that uses a thermometer. I want to put a line of code in that test to make sure the thermometer is ho..... More

Print this item

  Looping to read data in database
Posted by: CEC68 - Sep-21-2020, 01:32 AM - Forum: General Coding Help - Replies (1)

I am hoping someone could help me read in a master directory file which tells me what .csv to read through and save in memory and then move to next fi..... More

Print this item

  Flask Can't Save Screenshot to Postgres Db
Posted by: firebird - Sep-21-2020, 01:02 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello to All,
Would you help resolve the following problem. The Flask web app I'm working on takes a screenshot (say of my computer - and it does wor..... More

Print this item

  Create a Tensor without importing any modules or libraries
Posted by: samW - Sep-20-2020, 11:57 PM - Forum: Homework - Replies (1)

I am unable to solve this. Tried Nested lists and a variety of different other combinations, but not getting the exact output. Can someone help me wit..... More

Print this item

  Meet Ubisoft Reflections, People Can Fly, Double Eleven +more
Posted by: scottishcolin - Sep-20-2020, 09:26 PM - Forum: Jobs - No Replies

Games Jobs Live on Weds 23rd September; a FREE online livestream with gamedev studios in the North East of England currently hiring!

The livestream..... More

Print this item

  Code required to operate website
Posted by: Rincewindwiz - Sep-20-2020, 07:23 PM - Forum: Web Scraping & Web Development - No Replies

Hi all
Original web newbie here with a small challenge

I need to make regular bookings on a (non-commercial) booking website.
The website opens f..... More

Print this item

  Problems with making a Video Player in WxPython
Posted by: SheeppOSU - Sep-20-2020, 07:11 PM - Forum: GUI - Replies (2)

I was trying to make a Video Player in WxPython, my overall goal being a video editor. The problem I'm having here is that the video plays too slowly,..... More

Print this item

  Horse race game
Posted by: Moreal - Sep-20-2020, 06:56 PM - Forum: General Coding Help - Replies (1)

Hey, I am creating a "horse race" game for a class project. So I have to simulate 16 random numbers, and the player has to guess the 5 firsts. So he c..... More

Print this item

  Help with define a def function
Posted by: Omer_ - Sep-20-2020, 06:25 PM - Forum: General Coding Help - Replies (3)

Hi,
I have this code:
[python]
ordinal = ['2nd','3rd','4th','5th','6th','7th','8th','9th','10th','11th','12th']

ratio = [1.222223, 1.25, 1.33,4...... More

Print this item

  Invalid Syntax error
Posted by: Dave1835 - Sep-20-2020, 06:23 PM - Forum: General Coding Help - Replies (2)

I have updated the code and added the capability to calculate multiple rings but keep getting a syntaxerror on the last line. Any suggestion welcome. ..... More

Print this item

  Inelegant code!
Posted by: howdey57 - Sep-20-2020, 05:31 PM - Forum: Code Review - Replies (2)

I hope it's ok to ask for what may be basic help. I am a hobbyist and newish to Python, but used to code in COBOL many years ago. I'd like some help o..... More

Print this item

  possible scores
Posted by: 3Pinter - Sep-20-2020, 02:55 PM - Forum: Data Science - No Replies

Guys,

Got myself a nerdy thing going on: I want to get all possible scores given a set parameters.

you play 24 games which can either win or los..... More

Print this item

  argparse --help in one line.
Posted by: Denial - Sep-20-2020, 02:28 PM - Forum: General Coding Help - Replies (1)

Hello

Following is the part of my code:
[python]help_msg = 'Encode video file(s) recursively to HEVC 10Bit.'
parser = arg..... More

Print this item

  Counting the most relevant words in a text file
Posted by: caiomartins - Sep-20-2020, 01:59 PM - Forum: General Coding Help - Replies (2)

I am totally fresh to Python and recently I have been struggling to read a text file. As a personal studying project.

I have "built" this code base..... More

Print this item

  Decoder++ for decoding and encoding data
Posted by: bytebutcher - Sep-20-2020, 12:05 PM - Forum: Code sharing - Replies (2)

I made a pyqt gui application for encoding/decoding data. The source code can be found at https://github.com/bytebutcher/decoder-plus-plus.

[img]ht..... More

Print this item

  Dictionary list
Posted by: coja56 - Sep-20-2020, 11:56 AM - Forum: General Coding Help - Replies (7)

Create a list called menu, which should contain at least 4 items in the
cafe.
● Next, create a dictionary called stock, which should contain the sto..... More

Print this item

  Extract the categorial variables of a DataFrame
Posted by: Tut - Sep-20-2020, 09:12 AM - Forum: Data Science - Replies (1)

Hi everyone,

I am quite a begginer using Python , and I am struggling to extract the categorical variables (the columns) of my df that contain 6 o..... More

Print this item

  Create a sequential number (counter) and reset at each duplicate
Posted by: Mekala - Sep-20-2020, 05:02 AM - Forum: General Coding Help - No Replies

Hi,
I want to assign serial number but reset at repeating row
I use the below code, but I am not achieving the desired output.

[python]import pa..... More

Print this item

  list1 position = list 2?
Posted by: Nickd12 - Sep-20-2020, 03:46 AM - Forum: General Coding Help - Replies (4)

lets say I have two lists
list1 = [1, 2, 3, 4, 5]
list2 = [6, 7, 8, 9, 10]

say list 1 position 0 is an input so the number 1
I want to return list ..... More

Print this item

  Python Gonna Be King...
Posted by: ATARI_LIVE - Sep-20-2020, 02:16 AM - Forum: Bar - Replies (2)

Nice... check it out. (video youtube) it's about the Python:
http[url=https://python-forum.io/thread-29791.html]..... More

Print this item

  chkFile with absolute paths
Posted by: JarredAwesome - Sep-20-2020, 01:18 AM - Forum: General Coding Help - Replies (7)

Hey everyone,

Here is a function I made to check if files exist.
[code]
def chkFile(filesPath):
if hasattr(filesPath, "__len__"):
for i in ..... More

Print this item

  Question about fft
Posted by: m3atwad - Sep-20-2020, 01:06 AM - Forum: Data Science - No Replies

Hello,

New poster here. I apologize if this is a dumb question, but I'm trying to find some confirmation (or falsification) regarding my loose unde..... More

Print this item

  Homework with python
Posted by: Johnsonmfw - Sep-20-2020, 12:05 AM - Forum: Homework - Replies (1)

It’s a two part question. I’ve figured out the first section but struggling with the second part.

Given 2 inputs, data and shape, construct a tens..... More

Print this item

  [tkinter] not getting checkbutton value when clicked
Posted by: OogieM - Sep-19-2020, 09:05 PM - Forum: GUI - Replies (5)

I'm working on a larger program where I have a series of checkbuttons that will be used to determine which field to display in another frame in the wi..... More

Print this item

  Having a hard time conceptualizing how to print something
Posted by: MysticLord - Sep-19-2020, 07:27 PM - Forum: General Coding Help - Replies (6)

I have a table of bytes (actually they're bit flags, but one concept at a time), as below.
[code]
FB 2C D2 93 40 00 00 00 00 00 00 00 EA C8 61 00
F9 ..... More

Print this item

  Car game for Reinforcement Learning (CaRL)
Posted by: MadS123 - Sep-19-2020, 03:45 PM - Forum: Code sharing - No Replies

Hi,

Over the past couple months (actually year), I was working on a car game for reinforcement learning, called CaRL. Since this project is in a v..... More

Print this item

  python 3 dns lookup private domain
Posted by: didact - Sep-19-2020, 01:52 PM - Forum: General Coding Help - Replies (1)

[font=Arial, Helvetica, sans-serif]Hi everyone, I'm new to Python and new to this site so I apologize if this question has been asked and answered bef..... More

Print this item

  How to use subprocess to get multiple data outputs in desired folder?
Posted by: 3SG14 - Sep-19-2020, 01:22 PM - Forum: General Coding Help - Replies (1)

HI,

I am using subprocess to automate my Trnsys simulation for multiple inputs.

The problem I am having is each run should produce multiple resu..... More

Print this item

  PyAudio [Errorno -9999] Unanticipated Host Error
Posted by: iMuny - Sep-19-2020, 01:18 PM - Forum: General Coding Help - Replies (5)

Hello,

I hope everyone is doing well. I have been using pyaudio for quite some time now, however, recently it stopped working and throwing me an OS..... More

Print this item

  File structure
Posted by: macfanpl - Sep-19-2020, 01:13 PM - Forum: General Coding Help - Replies (12)

General question: when creating *.py files whats the order of things in file?

1. Imports, class, methods, instructions,
2. Imports, Class, additio..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ARE YOU A VICTIM OF A CRY... 1 hour ago helenchris842 helenchris842 General Codin...
  extracting data from a us... 8 hours ago Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Today, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Today, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 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...
Most views
  The best Prog... 576877
  Tutorial Requ... 499462
  Web Scraping ... 440656
  Newbie with P... 384630
  New Users Int... 368609
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
helenchris842 Today
alxpetrovo2272 Today
Jamirul Today
Perry Today
bianchiluca116 Yesterday

User Panel Messages

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