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,260
» Latest member: nathanael
» Forum threads: 38,785
» Forum posts: 175,842

Full Statistics

Online Users
There are currently 39 online users.
» 0 Member(s) | 37 Guest(s)
Bing, Google

Latest Threads
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
2 hours ago
» Replies: 4
» Views: 276
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
3 hours ago
» Replies: 0
» Views: 16
How to make ball stay wit...
Forum: General Coding Help
Last Post: nathanael
4 hours ago
» Replies: 0
» Views: 23
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
8 hours ago
» Replies: 0
» Views: 46
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 10
» Views: 219
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 3
» Views: 113
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 197
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Nov-13-2025, 11:52 AM
» Replies: 6
» Views: 384
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 130
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 264

 
  SimplyGIS query point-value
Posted by: stampy - Feb-10-2021, 09:52 AM - Forum: General Coding Help - Replies (2)

Hello,

I have a question regarding a attribute query I teach myself.

I have three cities:

[python]

NAME = 0
POINTS = 1
POP = 2

cit..... More

Print this item

Thumbs Down extracting data/strings from Word doc
Posted by: mikkelibsen - Feb-10-2021, 08:27 AM - Forum: General Coding Help - Replies (1)

Hi

I've been looking at tutorials on how to extract data and strings from word documents and in some cases also the data and strings from a table i..... More

Print this item

  tkinter moving an class object with keybinds
Posted by: gr3yali3n - Feb-10-2021, 06:21 AM - Forum: GUI - Replies (5)

ive been pulling out my hair trying to figure out how to get this to work correctly, i dont fully understand why i got this to work. could someone exp..... More

Print this item

  List Code
Posted by: cintra33 - Feb-10-2021, 04:45 AM - Forum: General Coding Help - Replies (1)

Dear all, I am lerning Python and would like to know if it is possible to implement the following:

Lets suppose I'm a fruit distribuitor and I have..... More

Print this item

  [Ursina Engine] Ursina Engine – 3D Python Game Engine Tutorial
Posted by: MK_CodingSpace - Feb-10-2021, 03:16 AM - Forum: Tutorial Requests and Submissions - No Replies

I am developing a series of Ursina Engine – 3D Python Game Engine Tutorials on on my You[url=https://python-forum.io/thread-32443.html]..... More

Print this item

  RE: Python Install Woes
Posted by: ECleveland334 - Feb-09-2021, 10:04 PM - Forum: General Coding Help - Replies (3)

I am trying to install Python 3.7.3 via the install file available here: https://www.python.org/downloads/.

Upon running the application and follow..... More

Print this item

  I will accept any help with this task (compression code)
Posted by: Malin3k - Feb-09-2021, 09:54 PM - Forum: Homework - Replies (3)

I need help with the compression code according to the simplified Huffman algorithm with a fixed code length
compression on the text loaded from th..... More

Print this item

  executing a bash file - revisited
Posted by: ebolisa - Feb-09-2021, 08:56 PM - Forum: General Coding Help - Replies (7)

Hi,

I'm trying to execute the line below from a .py file but I get an error: File not found.
However, if I execute it directly as [b]sh restartMM...... More

Print this item

  iterating an iterator by one step
Posted by: Skaperen - Feb-09-2021, 08:38 PM - Forum: News and Discussions - No Replies

i have a loop that is going through every file in a directory tree, doing a conversion on each, then moving that file to another directory tree. anot..... More

Print this item

  updating references to data variables across widgets
Posted by: Oolongtea - Feb-09-2021, 07:44 PM - Forum: GUI - Replies (1)

I'd like to know what is the recommended approach to maintain references to an object that is used by multiple widgets.

Let's consider the followin..... More

Print this item

  Join each list elements with string in other DF
Posted by: handy88 - Feb-09-2021, 07:00 PM - Forum: Data Science - No Replies

HI All,

I've sample of 2 DF's as below and want to join/vlookup for each elements inside the list in DF1 (col1) with col1 and take col2 value in DF2...... More

Print this item

  Picking a function to execute
Posted by: palladium - Feb-09-2021, 02:25 PM - Forum: General Coding Help - Replies (1)

I want to add moving averages of prices and volume of various periods of the DJIA index. The code below works:
[python]
import pandas as pd

myda..... More

Print this item

  Syntax Error: Positional argument follows keyword argument
Posted by: Rama02 - Feb-09-2021, 01:58 PM - Forum: GUI - Replies (3)

Hello, I'm trying to design a GUI based code through Tkinter which include multiple choice questions that the user can click through radiobuttons. How..... More

Print this item

  unsupported operand type(s) for /: 'str' and 'int' Error for boxplot
Posted by: soft - Feb-09-2021, 01:47 PM - Forum: General Coding Help - Replies (1)

I can't plot the boxplot for Gender and Age. Anybody know why?

df.boxplot(by ='Gender', column =['Age']) 
[python]
---------------..... More

Print this item

  to scrape wiki-page: getting back the results - can i use pandas also
Posted by: apollo - Feb-09-2021, 01:13 PM - Forum: Web Scraping & Web Development - Replies (2)

dear community - fellow python-experts, Wink


've been trying to scrape a table on Wikipedia using Beautifulsoup, but encountered some probl..... More

Print this item

  Updating variables in Multi-processing
Posted by: WiPi - Feb-09-2021, 01:10 PM - Forum: General Coding Help - Replies (11)

Hi guys,

I'm struggling to get the correct code configuration to update an integer variable across multi-process processes!

My code in brief is belo..... More

Print this item

  GNN For Graph "Classification"
Posted by: BennyS - Feb-09-2021, 11:41 AM - Forum: Data Science - Replies (1)

Hi Community!

I have a spare-time project where I am currently encountering some mind issues. I am not a professional AI/ML master, but I did try t..... More

Print this item

  How to create a task/import a task(task scheduler) using python
Posted by: Tyrel - Feb-09-2021, 10:41 AM - Forum: General Coding Help - Replies (7)

Can someone please help me.

im using python 3.6 and windows 10 64bit.

I am trying to create a task in task scheduler that runs at log on using p..... More

Print this item

  Decorator for a function with argument(s)
Posted by: banidjamali - Feb-09-2021, 10:30 AM - Forum: Homework - Replies (1)

Hello everyone,

considering the code I've written here, please tell me:
1. Is this done correctly? (Although I get the correct output, someone tol..... More

Print this item

  Flask Basics request.form
Posted by: ifigazsi - Feb-09-2021, 09:05 AM - Forum: Web Scraping & Web Development - No Replies

Hi!

There is a html file, with two separate <form(s)>.
How to get the data from both?

[python]
from flask import Flask, request, render_templ..... More

Print this item

  filecmp is not working for UTF-8 BOM encoded files
Posted by: sureshnagarajan - Feb-09-2021, 05:23 AM - Forum: General Coding Help - Replies (3)

Python base package filecmp is not working properly for 'UTF-8 BOM' css files.
I am using python version 3.5 and windows 10 OS.

while running the..... More

Print this item

  How to Sorted and display the Subclasses of BaseException
Posted by: Fernando_7obink - Feb-09-2021, 05:11 AM - Forum: Homework - Replies (9)

I have a task from the online course that i enrolled free recently Smile , can anyone help me for sorting the printout from the line code as foll..... More

Print this item

Question Working with existing files
Posted by: Gilush - Feb-09-2021, 05:01 AM - Forum: General Coding Help - Replies (7)

Ok.
I've spent alot of time reading the forum posts related to files & stackoverflow & medium & google and more! (you get the point - i'm stuck.)

..... More

Print this item

  Text to Column to Excel in Python
Posted by: giddyhead - Feb-09-2021, 03:18 AM - Forum: General Coding Help - No Replies

Hello everyone,

I have updated my script as follows:
[python]import mutagen, xlrd, glob, re, openpyxl, os
# from mutagen.easyid3 import EasyID3
..... More

Print this item

  ImportError with numpy
Posted by: stylingpat - Feb-08-2021, 11:53 PM - Forum: General Coding Help - Replies (7)

Hey guys, I'm new to Python but not new to coding, I was coding HTML/CSS in notepad back in the 90s haha.

Anyways, so I thought I had Python insta..... More

Print this item

  Short code for EventGhost not working
Posted by: Patricia - Feb-08-2021, 07:59 PM - Forum: General Coding Help - Replies (8)

Hi Guys. I'm just starting to learn Python
I have a short script that is supposed to play a random wav file in a folder but only between 9 and 5
It..... More

Print this item

  returning an error code
Posted by: Skaperen - Feb-08-2021, 06:55 PM - Forum: News and Discussions - Replies (8)

my function that works on the file system should inform the caller what error it encounters and where. the where would just be the path in a str. i ..... More

Print this item

  Help with this code
Posted by: ButtNut_Squash - Feb-08-2021, 03:45 PM - Forum: General Coding Help - Replies (3)

Can someone help me with this? I'm not sure what I have done wrong.

Exercise 5.2: Write a program that repeatedly prompts a user for integer num..... More

Print this item

  Cant Download Images from Unsplash Website
Posted by: firaki12345 - Feb-08-2021, 02:35 PM - Forum: Web Scraping & Web Development - Replies (1)

Good Evening Everyone

So I am trying to download all wallpaper images from unsplash, got their API link from the network tab in Firefox. (It loads ..... More

Print this item

  python matplotlib groupby
Posted by: okpython - Feb-08-2021, 11:09 AM - Forum: General Coding Help - No Replies

I am trying to use matplotlib to plot the data to mimic the behaviour in the excel screenshot below. I am not able to groupby twice, subsequently, I a..... More

Print this item

  GitHub Actions to guard your workflow
Posted by: elizabethlvova - Feb-08-2021, 10:46 AM - Forum: News and Discussions - No Replies

Read an article on how to use the GitHub Actions Evrone wrote to run rubocop, brakeman, reek, fasterer, h..... More

Print this item

  Student grader and sorter for assignment
Posted by: RazeAD - Feb-08-2021, 08:39 AM - Forum: Homework - Replies (7)

Can someone please help me, currently I am writing a code for an assignment that extracts the marks and the matrix number from a .txt file and grade t..... More

Print this item

  Why is it printing "None"?
Posted by: thortank - Feb-08-2021, 08:10 AM - Forum: General Coding Help - Replies (7)

Hello everyone,
I just started learning python yesterday, and I created a function creating a random password with small letters and some numbers.
[..... More

Print this item

  PyQt animation
Posted by: Rohan - Feb-08-2021, 05:00 AM - Forum: GUI - No Replies

Can we create animation of elevator going up and down using PyQt?

Print this item

  Issue with 'if' and datetime
Posted by: blakefindlay - Feb-07-2021, 11:30 PM - Forum: General Coding Help - Replies (6)

I'd like my gui to have a different background based on the current hour and month. I've imported datetime. Its not returning any errors but returns..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  sorting a lisr of file pa... 2 hours ago Skaperen Skaperen News and Disc...
  conditional nested loops 3 hours ago Skaperen Skaperen News and Disc...
  How to make ball stay wit... 4 hours ago nathanael nathanael General Codin...
  PyQt6 QWidgets and system... 8 hours ago stevecoh1 stevecoh1 GUI
  [solved] re.split issue 8 hours ago paul18fr deanhystad General Codin...
  Please guide me to comple... 11 hours ago 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...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
Most views
  The best Prog... 578973
  Tutorial Requ... 510483
  Web Scraping ... 441988
  Newbie with P... 386009
  New Users Int... 377062
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 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday
Bamboo Yesterday
TomTMH 11-13

User Panel Messages

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