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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,816

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 24 Guest(s)
Google, Bing, Twitter

Latest Threads
New to python and coding
Forum: Homework
Last Post: lary_p
5 minutes ago
» Replies: 3
» Views: 84
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
4 hours ago
» Replies: 4
» Views: 147
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 294
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 263
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 99
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,616
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 201
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 184
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,109
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,420

 
  Playing a video in tkinter
Posted by: moon - Jul-23-2024, 04:18 PM - Forum: General Coding Help - Replies (10)

Hi, I've been trying to simply play a video in python using the python GUI. So far, it has been working as intended and the video has been playing fin..... More

Print this item

  Help with Python Installation
Posted by: mariamasud - Jul-23-2024, 12:13 PM - Forum: Homework - Replies (1)

Hello,

I have recently tried to install Python Version 3.12 on my laptop. I could see through command prompt that it was installed successfully.
H..... More


Attached Files

Thumbnail(s)
   
Print this item

  Learning from Grokking Algorithms
Posted by: Zepher - Jul-23-2024, 07:28 AM - Forum: General Coding Help - Replies (4)

Hello all

I'm trying to learn algorithms from Grokking Algorithms by Aditya Y. Bhargava, but when I write the code, it doesn't show the same result..... More

Print this item

  Search and URL Copy Automation
Posted by: BUG - Jul-22-2024, 03:51 PM - Forum: Web Scraping & Web Development - No Replies

Is it possible to search for a text file on YouTube and copy the URL information? I want to make an automation.

Example;

Text Document Content :..... More

Print this item

  How can I upload a .gz file to the Swift Object Storage using Python swift client?
Posted by: Hanginium65 - Jul-22-2024, 01:07 PM - Forum: General Coding Help - No Replies

I wrote the Python code to upload the .gz file from my local machine to the OpenStack object store using the following documentation: https://docs.ope..... More

Print this item

  Webscraping - loop on first page
Posted by: RikP - Jul-22-2024, 12:15 PM - Forum: Web Scraping & Web Development - No Replies

I need some help with this code. It always returns the same (first) page over and over again instead of going to the next page. I can't figure out why..... More

Print this item

  Working with dates in pandas
Posted by: Scott - Jul-21-2024, 10:08 PM - Forum: General Coding Help - Replies (13)

Hi everyone,

I am having a confusing issue in pandas which I'll highlight in the code below. You'll need to update the path to your own one. You ca..... More

Print this item

  Loop problem
Posted by: Milczek - Jul-21-2024, 05:35 PM - Forum: Homework - Replies (1)

Hi, I'm starting learning Python and there is a task in which I've found a problem and I hope somebody could help me:
The task is to check whether nam..... More

Print this item

  Product Image Download Help Required
Posted by: pythonustasi - Jul-20-2024, 06:35 PM - Forum: General Coding Help - Replies (5)

Hi everyone, since I love python language very much, I am constantly experimenting and this time I am trying to make a new experiment, I have been res..... More

Print this item

  Trying to help my daughter with homework!!
Posted by: AdamB1978 - Jul-20-2024, 03:06 PM - Forum: Homework - Replies (9)

Hello

My daughter is in year 7 (12 years old) and has just done her first year of computing at school, however her teacher is pretty useless so we'..... More

Print this item

  Storing data in readable place
Posted by: user_404_lost_and_found - Jul-20-2024, 01:24 AM - Forum: General Coding Help - Replies (4)

Greetings,

I am loading in my chosen files of a special format from a folder I read in and then converted these files to dataframes. I want to stor..... More

Print this item

  how to log ip addresses in loguru
Posted by: robertkwild - Jul-19-2024, 05:09 PM - Forum: General Coding Help - Replies (2)

Hi all,

I want to keep track in the logs as well as time message level etc, I want to log down the clients ip address

Is this possible

Thanks..... More

Print this item

  Making a payroll class
Posted by: zimmytheflygirl - Jul-19-2024, 02:46 PM - Forum: Homework - Replies (22)

Who is up for some fun? I am on my final project and need to try and not make a C on this project.
Here is the assignment (see attachment) since I..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python is unable to read file
Posted by: Genericgamemaker - Jul-18-2024, 08:06 PM - Forum: General Coding Help - Replies (13)

So I'm pretty new to coding and I've spent the past two days on a tutorial for making a simple game using pygame because of multiple issues I have had..... More

Print this item

  Why doesn't this image downloader work?
Posted by: noob0dy - Jul-18-2024, 07:50 PM - Forum: Web Scraping & Web Development - Replies (2)

This is my code for now:

[python]
import requests
from bs4 import BeautifulSoup

def getdata(url):
r = requests.get(url)
return r.tex..... More

Print this item

  Windows Disk Cleanup Code Help Needed
Posted by: nal2us2 - Jul-17-2024, 08:58 PM - Forum: General Coding Help - Replies (3)

Hi all.

I am trying to generate Python code to do the following:
Access the Windows Disk Cleanup program and clear out the regular and system file..... More

Print this item

  API URL Help
Posted by: tturner2304 - Jul-17-2024, 06:56 PM - Forum: General Coding Help - Replies (2)

hi. at the end of an api i am using, if i want to do an offset to collect more data after say 100 record, it require ",+100" to be added to the end of..... More

Print this item

  Chatbot database RAG
Posted by: thiagomendes - Jul-17-2024, 04:44 PM - Forum: Data Science - Replies (3)

I am currently developing a chatbot to interact with an already existing database that is coded in MySql. As for the framework, I am using django and ..... More


Attached Files

.txt   full_code.txt (Size: 19.76 KB / Downloads: 1)
Print this item

  Writing to two different serial ports independent of each other
Posted by: Aggie64 - Jul-16-2024, 03:48 PM - Forum: General Coding Help - Replies (6)

I have a Python program in which I am trying to write to two different serial displays
I define port1 and port2 as shown below:
[python]
port1=seri..... More

Print this item

  how to retrieve sets of data
Posted by: paul18fr - Jul-16-2024, 08:56 AM - Forum: Data Science - Replies (7)

Hi,

As one can see in the picture, i'm trying to retrieve sets of data (V array : 1 row = 1 set) into M array.

Note data "..... More


Attached Files

Thumbnail(s)
   
Print this item

  Closing Web Browser
Posted by: rdwessex - Jul-16-2024, 07:30 AM - Forum: General Coding Help - Replies (5)

Hi. I'm very new to Python coding. This is my code (attached).

import webbrowser
url = ""https://newholland.com"
webbrowser.open(url)

How do I..... More


Attached Files

Thumbnail(s)
   
Print this item

Question How to get calling directory?
Posted by: franklin97355 - Jul-16-2024, 04:01 AM - Forum: General Coding Help - Replies (4)

Is there a way to get the calling directory in Python? I want to have the program in one spot and call it from more than one spot. The program and Pyt..... More

Print this item

  Pandas ExcelWriter path name rejected
Posted by: morningglory - Jul-15-2024, 06:36 PM - Forum: General Coding Help - No Replies

I am trying to make devs aware of issue I ran into.
Basically, `pd.ExcelWriter(output_path+'\\'+'HiT Nano battery title info2.xlsx',engine='xlsxwrit..... More

Print this item

  API Loop Help
Posted by: tturner2304 - Jul-15-2024, 06:25 PM - Forum: General Coding Help - Replies (1)

Hi All

Firstly i am a complete beginner to Python (2 Weeks), but have experience in other languages.
I have the following piece of code which i am..... More

Print this item

  Exploring Content Marketing's Impact on UK Businesses
Posted by: IslaBrown - Jul-15-2024, 10:04 AM - Forum: Web Scraping & Web Development - No Replies

As I explore ways to enhance my business's growth, I'm curious about the potential impact of content marketing specifically in the UK market. How have..... More

Print this item

  ImportError: cannot import name 'scipy_namespace_for' from 'scipy._lib._array_api'
Posted by: AgileAVS - Jul-15-2024, 08:45 AM - Forum: General Coding Help - No Replies

[python]import numpy as np
import keras
import matplotlib.pyplot as plt
import pandas as pd
from sklearn.preprocessing import MinMaxScaler
scaler..... More

Print this item

  NameError: name 'pi' is not defined
Posted by: katebishop - Jul-15-2024, 02:59 AM - Forum: General Coding Help - Replies (2)

I'm working on a Python program to calculate the area of different shapes (square, rectangle, and circle). I've written the code for squares and recta..... More

Print this item

  will using conda fix my frustration?
Posted by: snakes - Jul-14-2024, 10:55 AM - Forum: General Coding Help - Replies (4)

Essentially, my question is regarding my misunderstanding of the differences between venv, conda and virtualenv.

I have always used venv for python..... More

Print this item

Sad The issue with compare 2D lists
Posted by: przonak007 - Jul-12-2024, 09:48 PM - Forum: General Coding Help - Replies (18)

Hi I have a little problem with 2 lists. These are lists 2D.

It should be like:
The compartment no. 1 (110, 260)
Saved items:
171
172
173
174
175
17..... More

Print this item

  sharepoint: Access has been blocked by Conditional Access policies
Posted by: CAD79 - Jul-12-2024, 09:35 AM - Forum: General Coding Help - No Replies

I'm trying to access an excel sheet to extract data, but it is on sharepoint which makes things a bit more complicated.

I'm using this code (snippet)..... More

Print this item

  To access already running remote desktop application using pywinauto
Posted by: vyom - Jul-12-2024, 07:10 AM - Forum: GUI - Replies (1)

Hi ,
Greetings!!!
I am new to python and pywinauto. I learnt that pywinauto can access already running application hence i would like to know solut..... More

Print this item

  Fire and forget
Posted by: Terry - Jul-12-2024, 05:18 AM - Forum: General Coding Help - No Replies

Hi,
Is there a way to run a function in a fire and forget manner in python using asyncio from a synchronous function

The code below doesn't work f..... More

Print this item

  code help
Posted by: nosaj - Jul-12-2024, 12:09 AM - Forum: General Coding Help - Replies (4)

I'm trying to test one of my forums to make sure its not vulernable to CVE-2019-16759

here is a link to the code ..... More

Print this item

  Failing to iterate over captured StdOut
Posted by: tester_V - Jul-11-2024, 11:33 PM - Forum: General Coding Help - Replies (4)

Greetings!
I’m using a subprocess to run and capture an output of the “ARP- A” command to a list.
I’d like to iterate and filter some of the IPs fr..... More

Print this item

  using last 2 characters of a file name to identify it
Posted by: CAD79 - Jul-11-2024, 03:10 PM - Forum: General Coding Help - Replies (5)

For an application I'm creating, a combobox displays all customer names that are inside the active customer orders directory. In the customer order, t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 5 minutes ago lary_p lary_p Homework
  Help with Serial.write in... 4 hours ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578835
  Tutorial Requ... 509855
  Web Scraping ... 441915
  Newbie with P... 385916
  New Users Int... 376109
Most reputation
buran 581
snippsat 510
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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