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,940
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,516

Full Statistics

Online Users
There are currently 68 online users.
» 2 Member(s) | 60 Guest(s)
Applebot, Bing, Google, AOL, AOL, kshahzad1985, snippsat

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
11 hours ago
» Replies: 1
» Views: 291
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Today, 04:48 AM
» Replies: 8
» Views: 427
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,630
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 995
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,347
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,895
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,667
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,767
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,924
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,476

 
  Shmup
Posted by: menator01 - Feb-10-2021, 11:24 PM - Forum: Code sharing - Replies (1)

Been a while since I've been here and posted anything so, here is a little game that I've been playing around with.
Works on windows 10. I've not had..... More

Print this item

  concatenat - shutil
Posted by: jmabrito - Feb-10-2021, 10:39 PM - Forum: General Coding Help - Replies (3)

import shutil
t1 = 'bjjj'
t2 = 4455
t3 = '.txt'
t6 = print(t1+str(t2)+t3)
shutil.copy('bjjj.txt', 't6')
shutil.copy('bjjj.txt', 'bjjj4455.txt')..... More

Print this item

  Defining a function with input
Posted by: abcd - Feb-10-2021, 10:09 PM - Forum: General Coding Help - Replies (5)

Hi,

In a new file, I typed that:

def CircleArea():
    radius = input('Type the circle radius')
    return radius * 3.14
T..... More

Print this item

  how to switch form python 2.xy to 3 in VSCode
Posted by: apollo - Feb-10-2021, 10:08 PM - Forum: Bar - Replies (1)

how to switch form python 2.xy to 3 in VSCode

i tried to do this with this code - pip install python3

which does not work at all

[img]https:/..... More

Print this item

  regarding dice game
Posted by: hola123 - Feb-10-2021, 08:36 PM - Forum: Homework - Replies (4)

how do I fix an error for this bit of code, I'm kind of new and look here for help. if you can help me I would appreciate it. the issue is it keeps sa..... More

Print this item

  How can I iterate through all cells in a column (with merge cells) with openpyxl?
Posted by: aquerci - Feb-10-2021, 06:42 PM - Forum: General Coding Help - Replies (1)

I have to write data in an excel sheet that contains merged cells, but I don't know how to do it because I can't identify the merged cells. For exampl..... More

Print this item

  button click error
Posted by: rafarangel - Feb-10-2021, 04:23 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I want to click on the button "Aceitar todos" but that button it isn't recognized by xpath. How can I do it?

[img]https://ibb.co/7gtjG60[/im..... More

Print this item

  Handling Python Fatal Error
Posted by: richajain1785 - Feb-10-2021, 04:06 PM - Forum: General Coding Help - Replies (7)

Hello,

I have been trying to handle errors in my python code using try & except, but this is not able to handle refcount error which causes my app..... More

Print this item

  Why not getting return on line #16?
Posted by: jahuja73 - Feb-10-2021, 03:18 PM - Forum: General Coding Help - Replies (12)

I have a small python code (https://ideone.com/fc2MNb), but it on one line (line #16) returns None. While on another line (line #27) returns value.

Print this item

  Any help would be appreciated
Posted by: tegtheWegg - Feb-10-2021, 11:55 AM - Forum: Homework - Replies (1)

PROBLEM:

Joel has a collection of unique coins. He would like to use them to pay a certain amount of money, but he wouldn’t want to part with more ..... More

Print this item

  outdated post
Posted by: detlefschmitt - Feb-10-2021, 10:09 AM - Forum: General Coding Help - Replies (3)

outdated post

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 11 hours ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... Today, 04:48 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...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576623
  Tutorial Requ... 498659
  Web Scraping ... 440467
  Newbie with P... 384389
  New Users Int... 367690
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 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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