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,394
» Latest member: braillescribe
» Forum threads: 38,822
» Forum posts: 176,021

Full Statistics

Online Users
There are currently 38 online users.
» 0 Member(s) | 33 Guest(s)
Bing, Google, Applebot, AOL

Latest Threads
Willing to pay for help w...
Forum: General Coding Help
Last Post: braillescribe
12 minutes ago
» Replies: 2
» Views: 23
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 97
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 249
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,073
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,908
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 149
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 85
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 154
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,298
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 119

 
  Simple screen scrape is baffling me.
Posted by: monty024 - Apr-26-2023, 02:04 AM - Forum: Web Scraping & Web Development - Replies (1)

Greetings,

I am just learning to screen scrape using beautiful soup. I have been doing well so far, but thought I would make a simple script th..... More

Print this item

  trouble with semicolons
Posted by: Skaperen - Apr-25-2023, 07:18 PM - Forum: News and Discussions - Replies (6)

i'm still having trouble with semicolons. but it does not seem to be the spacing issue i previously thought it was. here is my latest example (avoid..... More

Print this item

  Python Script to convert Json to CSV file
Posted by: chvsnarayana - Apr-25-2023, 04:48 PM - Forum: General Coding Help - Replies (8)

Hi All,

We have one requirement to convert Json to CSV file. In json file, values are there for all the columns, some columns are missing but when ..... More

Print this item

  Need help with sorting lists as a beginner
Posted by: Realist1c - Apr-25-2023, 03:39 AM - Forum: General Coding Help - Replies (1)

I am trying to sort scores from a list that was put into a text file and then transferred into another list. I have tried two methods (shown below) bu..... More


Attached Files

Thumbnail(s)
       
Print this item

  Pyspark dataframe
Posted by: siddhi1919 - Apr-24-2023, 07:48 PM - Forum: General Coding Help - Replies (3)

we have a requirement where we need to extract a value from a column of a dataframe and then we have to match this extracted value to another column o..... More

Print this item

  Text-Based RPG - After selecting correct decision it also prints others code
Posted by: KimJiwoo1 - Apr-24-2023, 07:29 PM - Forum: Game Development - Replies (1)

Hiya,

First off, apologies for a presumably hilarious error or gap in knowledge!

I, along with two others have been tasked with making a text-ba..... More


Attached Files

.pdf   Flow Chart - Game.pdf (Size: 123.04 KB / Downloads: 345)
Print this item

  python dictionary syntax
Posted by: nafshar - Apr-24-2023, 06:26 PM - Forum: General Coding Help - Replies (2)

can someone explain how the following dictionary definition is supposed to work?
Pycharm shows it as a syntaxial error, but the class I am taking sho..... More

Print this item

Question my pygame car wont move
Posted by: Erio85 - Apr-24-2023, 04:01 PM - Forum: Game Development - Replies (1)

hi like it says in the title my pygame car wont move unless the mouse is on the window and actively moving about. the window itself is updating (i kno..... More


Attached Files

.py   main.py (Size: 3.8 KB / Downloads: 336)
Print this item

  Homework, works but has logic error
Posted by: goldielocks789 - Apr-24-2023, 11:22 AM - Forum: Homework - Replies (3)

Hi, I am new to the forum and posting on behalf of my son, who has just started doing Python at school. He has done the code below to show someone ge..... More

Print this item

  Calculate AGE in years
Posted by: Kessie1971 - Apr-24-2023, 07:31 AM - Forum: Homework - Replies (17)

Hello

I want to try to calculate the age in years but in de output i get 1 day instead of 1 year

[python]from datetime import datetime, date
..... More

Print this item

  Chinook Database in Python (Albun Top 10)
Posted by: Kessie1971 - Apr-23-2023, 11:28 AM - Forum: Homework - Replies (10)

How do I make a python program that prints an album top 10 of the albums that have been listened to most often from the Chinook database. The output o..... More


Attached Files

Thumbnail(s)
   
Print this item

  Making a Class Person ?
Posted by: Kessie1971 - Apr-23-2023, 11:14 AM - Forum: Homework - Replies (3)

How do I create a Person class is a generic class, which only stores some basic attributes. These attributes are: name, sex and date of birth (as a da..... More

Print this item

  create a function format_date ?
Posted by: Kessie1971 - Apr-23-2023, 11:10 AM - Forum: Homework - Replies (7)

how do I create a function format_date() which takes a date string as an argument and returns a datetime object.

Example
Print (format_date(“24-1..... More

Print this item

  [SOLVED] [Windows] Fails reading strings with accents
Posted by: Winfried - Apr-23-2023, 10:22 AM - Forum: General Coding Help - Replies (1)

Hello,

On Windows, I'm trying to read a file that has accents. An hexdump shows that it's encoded in Latin1/ISO-8859-1, not UTF-8.

For some reas..... More

Print this item

  create a default path with idle to a specific directory
Posted by: greybill - Apr-23-2023, 04:32 AM - Forum: General Coding Help - No Replies

Currently when I save a python program I have to go through a path to the directory I want. How can I create a default preference for a path that wil..... More

Print this item

  Dictionary Problem
Posted by: Chief816 - Apr-23-2023, 01:31 AM - Forum: Homework - Replies (4)

I'm trying to write a program that keeps a running total of a "customer's" total as they input items off a menu, which in this case happens to be my d..... More

Print this item

  Print names in x-axis of a time-series values
Posted by: hobbyist - Apr-22-2023, 03:01 PM - Forum: General Coding Help - Replies (4)

Hello, I have a .csv that has 2 columns. The first column contains timestamps and the second column CO2 measurements. What I want to do is to plot the..... More

Print this item

  Beginner, problem with CS50 vanity plates problem
Posted by: Chief816 - Apr-22-2023, 05:04 AM - Forum: Homework - Replies (3)

I am brand new to coding in general, and have recently started taking up python courses. For one assignment, the task is to create a program which det..... More

Print this item

  Help on Monte Carlo Simulation of temperature relaxation of He-Ar mixture
Posted by: jorvz - Apr-21-2023, 04:57 PM - Forum: Data Science - Replies (1)

Hey, so i`ve been working on this code for a while for my research but it just doesn't seem to work well, i think it is misscalculating in some step, ..... More

Print this item

  Non repetitive mouse click
Posted by: Sartre - Apr-21-2023, 04:12 PM - Forum: General Coding Help - Replies (5)

I am writing a game bot as part of my learning process. The code I am writing requires a single mouse click to be performed at the start of the code b..... More

Print this item

Question UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 562: ord
Posted by: ctrldan - Apr-21-2023, 03:58 PM - Forum: General Coding Help - Replies (23)

I admit that I'm not an expert of python, I'm working in a python version 2.6.6 (for compatibility with command like unicode). I explain why I use thi..... More

Print this item

  Socks 5 Proxy Server For UDP ASSOCIATE
Posted by: ankit - Apr-21-2023, 12:18 PM - Forum: Networking - Replies (2)

I want Help in Developing Socks5 Based Proxy Server For TCP and UDP Support.
I am able to build it for TCP but facing issue for UDP....

Print this item

  How do I get a slug from a url?
Posted by: Stas43 - Apr-21-2023, 10:56 AM - Forum: Web Scraping & Web Development - Replies (3)

How do I get a slug from a url?
Example:... com/page1/
In my case - page1 is a slug and I want to get it in a template for different operations

Print this item

  Why Pip is not listed in the official Global Python Module index?
Posted by: quazirfan - Apr-21-2023, 06:13 AM - Forum: General Coding Help - Replies (2)

Pip comes built in with Python. That's why I was surprised to see pip not listed in the global module index[1] on official Python documentation.

Why ..... More

Print this item

  Using a String var as URL in Requests.get( )
Posted by: DBB - Apr-20-2023, 11:50 PM - Forum: General Coding Help - Replies (3)

New to python so forgive me...

I have an external .csv file containing several lines, each one of which is a fully formed URL, having user n..... More

Print this item

  quiz game - problem with loading statements from file
Posted by: lapiduch - Apr-20-2023, 01:20 PM - Forum: Homework - Replies (2)

Hello, I'm trying to create a simple myth/fact quiz using tkinter. The game should be for two players - the player who presses the key first (the red ..... More


Attached Files

.txt   fakt_mytus.txt (Size: 340 bytes / Downloads: 239)
.py   1_kolo_anj.py (Size: 2.69 KB / Downloads: 284)
Print this item

  Interfacing from Python to GUI
Posted by: HMartins - Apr-20-2023, 10:26 AM - Forum: General Coding Help - Replies (7)

Hi.

I have written some Python code and is works OK. I now need to, say, interface it better with the user, myself Wink

I got QT Designer a..... More

Print this item

  Working with Machine Learning accelerators
Posted by: hobbyist - Apr-19-2023, 08:38 PM - Forum: Bar - Replies (1)

Can I run Ubuntu on this: https://tinker-board.asus.com/product/ti...dge-r.html and execute python scripts? Like Machine Learning code? Has anyone ..... More

Print this item

  ValueError - Formatting issue when values enter thousands
Posted by: phillyfa - Apr-19-2023, 08:37 PM - Forum: General Coding Help - Replies (4)

I am using the following code to retrieve costs from an Azure subscription. The 'Cost (USD)' data is returning a ValueError when the cost is in the t..... More

Print this item

  code problems
Posted by: bbm007 - Apr-19-2023, 08:27 PM - Forum: General Coding Help - Replies (5)

I have been having problems making a quadratic calculator I'm almost there but the formula at the end is an error and I can't seem to fix it help woul..... More

Print this item

  Nan values after merging 2 dataframes
Posted by: EmBeck87 - Apr-19-2023, 02:01 PM - Forum: General Coding Help - Replies (1)

Hello, I have two pandas dataframes that merged correctly using the "left on = " ", right on =" " method, but after the merge, some of my values in on..... More

Print this item

  I keep getting the same error over and over again.
Posted by: SuchUmami - Apr-19-2023, 12:00 PM - Forum: General Coding Help - Replies (11)

Hello. I am trying to write a trading algorithm for kraken's crypto exchange. I keep getting an error where it says "result"; here is an example:

I..... More

Print this item

  How to set up uwsgi and nginx?
Posted by: Stas43 - Apr-19-2023, 11:10 AM - Forum: Web Scraping & Web Development - Replies (2)

(sorry for the Google translator)

os Ubuntu 20.04 lts server x64

What is done:
mkdir django & cd django
. env/bin/activate
test project djang..... More

Print this item

  Converting timestamp like 2023-04-18T20:00:10.000Z to 20230418200010
Posted by: bigcat - Apr-19-2023, 08:16 AM - Forum: General Coding Help - Replies (2)

Hi,

how to convert a timestamp like 2023-04-18T20:00:10.000Z to 20230418200010 ?

Thanks in advance,
Regards,
Den.

Print this item

  ctypes
Posted by: juliolop - Apr-18-2023, 08:31 PM - Forum: General Coding Help - Replies (7)

how can I declare using ctypes where my DLL file is located.?

this line gives me an error
OSError: [WinError 193] %1 is not a valid Win32 applicat..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Willing to pay for help w... 12 minutes ago braillescribe braillescribe General Codin...
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580382
  Tutorial Requ... 519222
  Web Scraping ... 442774
  Newbie with P... 386957
  New Users Int... 386330
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
braillescribe Today
aurelio12282025 Today
bejaminmaarleyo1374 Today
taylorlitleoz476 Today
desy845 Today

User Panel Messages

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