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,095
» Latest member: wildpineapplegator3Dip
» Forum threads: 38,750
» Forum posts: 175,676

Full Statistics

Online Users
There are currently 46 online users.
» 1 Member(s) | 42 Guest(s)
AOL, Bing, Google, mamaedith

Latest Threads
[solved] regex issue
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 3
» Views: 81
Struggling to Scrape Stru...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Yesterday, 07:23 AM
» Replies: 3
» Views: 3,027
tkinter weird image displ...
Forum: GUI
Last Post: deanhystad
Oct-18-2025, 11:15 AM
» Replies: 2
» Views: 172
Making a colour field
Forum: GUI
Last Post: OtiliaGen
Oct-18-2025, 10:58 AM
» Replies: 12
» Views: 9,049
why I can't pip install f...
Forum: General Coding Help
Last Post: snippsat
Oct-17-2025, 06:40 PM
» Replies: 1
» Views: 176
Sound Meter
Forum: General Coding Help
Last Post: OtiliaGen
Oct-17-2025, 06:12 AM
» Replies: 3
» Views: 4,545
Help with Lists
Forum: General Coding Help
Last Post: noisefloor
Oct-16-2025, 06:16 PM
» Replies: 7
» Views: 316
Data Science Roadmap for ...
Forum: Data Science
Last Post: DeepaMalik
Oct-15-2025, 10:26 AM
» Replies: 4
» Views: 4,800
Convert JSON to CSV
Forum: General Coding Help
Last Post: Pedroski55
Oct-15-2025, 12:05 AM
» Replies: 6
» Views: 6,913
Variable not defined, but...
Forum: General Coding Help
Last Post: snippsat
Oct-14-2025, 08:28 PM
» Replies: 1
» Views: 107

 
  Reading Specific Rows In a CSV File
Posted by: finndude - Dec-13-2022, 10:26 AM - Forum: General Coding Help - Replies (3)

Hi,

I have a CSV file which I have attached a link to a photo of it to look at. I want to be able to retrieve the data from specific rows, based on..... More

Print this item

  Extracting Data into Columns using pdfplumber
Posted by: arvin - Dec-13-2022, 06:35 AM - Forum: General Coding Help - Replies (17)

I have a pdf which has data in tabular format and has 6 columns but the columns are not separated by boundaries so when I extract the data using pdfpl..... More

Print this item

  Qcolor name pyside6
Posted by: PatM - Dec-13-2022, 03:08 AM - Forum: General Coding Help - Replies (2)

I have an error that works if I print but not if I try to use the value. I've tried everything I can think of but can't understand what is going wrong..... More

Print this item

  First python project
Posted by: PatM - Dec-13-2022, 12:09 AM - Forum: Code Review - Replies (2)

Ok my first completed Python/PySide6 program. Works fine but I would classify myself as a clumsy wannabe programmer at best so it's pretty ugly. I sti..... More

Print this item

  How to remove footer from PDF when extracting to text
Posted by: jh67 - Dec-12-2022, 04:25 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to take a footer out of a 550 page pdf and then extract everything left to a .txt file. The extraction is working but the footer is st..... More

Print this item

  remove partial duplicates from csv
Posted by: ledgreve - Dec-12-2022, 04:21 PM - Forum: General Coding Help - No Replies

Hello,

Firstly, I wish to mention and stress that I do not have a lot of experience with Python and programming in general.

[b]The situation:[..... More

Print this item

  Parsing CSVs...
Posted by: ChLenx79 - Dec-12-2022, 02:39 PM - Forum: General Coding Help - Replies (3)

Hi All,

hope you are all well!

Need a little nugde...

I have a CSV, within which a couple of lines look like this...

[font=Courier New]Com..... More

Print this item

  Please help me in regards to pyAutoGUI
Posted by: andrewtuk - Dec-12-2022, 01:24 PM - Forum: GUI - Replies (2)

Hi everyone

I am a newbie so bear with me, I watched a youtube video on how to install PYAutoGUI, I believe its installed it correctly but now I wa..... More

Print this item

  create new column based on condition
Posted by: arvin - Dec-12-2022, 11:32 AM - Forum: General Coding Help - Replies (12)

Hello
I want to create a new column that includes calculations based on existing columns.

[Image: gmg2jbM]

All rows have same ..... More

Print this item

  point of sale code problem
Posted by: dethnode - Dec-12-2022, 05:53 AM - Forum: Homework - Replies (3)

I am new to python and programming, but have enjoyed the semester learning what I have... However we were asked to follow a template and build a poin..... More

Print this item

  Prefs class: singleton or something else?
Posted by: PatM - Dec-12-2022, 04:52 AM - Forum: General Coding Help - Replies (7)

I've got a singleton class I'm using that works pretty well but I have several other classes (in different .py files) so I have to create it in every ..... More

Print this item

  Make unique id in vectorized way based on text data column with similarity scoring
Posted by: ill8 - Dec-12-2022, 03:22 AM - Forum: Data Science - No Replies

I have the following dataframe:

[python]d_test = {
'name' : ['South Beach', 'Dog', 'Bird', 'Ant', 'Big Dog', 'Beach', 'Dear', 'Cat', 'Fish', 'Dry..... More

Print this item

  Remove values for weekend in a panda series
Posted by: JaneTan - Dec-12-2022, 01:50 AM - Forum: General Coding Help - No Replies

Hi

I have a range of daily values. I want to remove the weekend (Sat + Sun) period and the accompanying values. How do I do so?

[python]df=pd.re..... More

Print this item

  Cube drawing
Posted by: freethrownucleus - Dec-11-2022, 11:48 PM - Forum: Game Development - Replies (51)

Hi, I need some help.
I need to draw a cube exactly like this ["attachment"] but on a condition I can manuevar on that cube model after.
If anyone cou..... More


Attached Files

Thumbnail(s)
   
Print this item

  Web project and running a .py file
Posted by: emont - Dec-11-2022, 11:15 PM - Forum: General Coding Help - No Replies

Hello Team,

I hope you are all fine; I was wondering if it is possible to run a python file (.py) from a website on a local machine and be able to ..... More

Print this item

  How to customize VS Code setting.json?
Posted by: NewPi - Dec-11-2022, 04:10 PM - Forum: Data Science - Replies (1)

Hey,

I want to customize the VS Code's settings.json, that matplotlib-functions will highlighted in the same color as built-in functions.

I wrot..... More

Print this item

  Excel file reading problem
Posted by: max70990 - Dec-11-2022, 02:30 PM - Forum: General Coding Help - Replies (1)

Hello to all,

the following program should indicate the average number of emissions by reading an excel file.
Excel file has to columns, one for ..... More

Print this item

  Coding problem portfolio grade
Posted by: max70990 - Dec-11-2022, 12:04 PM - Forum: General Coding Help - Replies (1)

   
   

Hello all, I’m a beginner and I’m looking to execute the following code. I have my associated excel file with ..... More

Print this item

  prime numbers with iterator and generator
Posted by: cametan_001 - Dec-11-2022, 07:13 AM - Forum: General Coding Help - Replies (8)

Hello.

Let's make an iterator like this:

def integers_starting_from(n):
    while True:
        yield n
        n += 1
..... More

Print this item

  What do * and / mean?
Posted by: cametan_001 - Dec-11-2022, 06:29 AM - Forum: General Coding Help - Replies (3)

Hello.

The reference of math.module says about the prod function like this:
..... More

Print this item

  Sort by month in a plot
Posted by: ph4n70m1988 - Dec-11-2022, 06:14 AM - Forum: Data Science - No Replies

I am using the following code to plot a graph.

[python]import pandas as pd
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot ..... More

Print this item

  Getting NameError for a function that is defined
Posted by: JonWayn - Dec-11-2022, 04:09 AM - Forum: General Coding Help - Replies (2)

So far, it's a simple class, but I can't understand why I get a NameError for a function that exists in the class. The function is declared on line 15..... More

Print this item

  Homework Python unit test
Posted by: Paragoon2 - Dec-10-2022, 07:46 PM - Forum: Homework - Replies (4)

Hi i want to passed my unit test, but i do not know how
Can you help me please
[python]dictionary={'A':'.-', 'B':'-...',
'C':'-.-.', 'D..... More


Attached Files

.py   example.py (Size: 1.57 KB / Downloads: 225)
.py   example_test (1).py (Size: 2.46 KB / Downloads: 224)
Print this item

  Saving/editing cookies?
Posted by: rhubarbpieguy - Dec-10-2022, 01:58 PM - Forum: Web Scraping & Web Development - No Replies

I'm scraping a site using Selenium but I find it slow. However, I believe it's possible to retrieve cookie information using Selenium and then procee..... More

Print this item

  Transfer function
Posted by: victoriomariani - Dec-10-2022, 01:39 PM - Forum: General Coding Help - No Replies

Hello! I need help for write this code in python:

Ts = 1;   # sample time
z = tf('z',Ts)        # Variable Z
I tried [python]i..... More

Print this item

Question Take user input and split files using 7z in python
Posted by: askfriends - Dec-10-2022, 11:33 AM - Forum: General Coding Help - Replies (2)

I am new to all this, i have a python script and want to modify it a little bit but due to my weak basics i cant figure it out, hopefully u guys will ..... More


Attached Files

.py   zip.py (Size: 5.1 KB / Downloads: 267)
Print this item

  matrix multiplication term by term
Posted by: karolina - Dec-10-2022, 09:23 AM - Forum: General Coding Help - Replies (1)

I have the following numpy arrays:
A of size (MxK)
B of size (MxN)

How to multiply A and B to get a matrix of size (MxKxN)?

I tried with A * ..... More

Print this item

  validate large json file with millions of records in batches
Posted by: herobpv - Dec-10-2022, 03:53 AM - Forum: General Coding Help - Replies (3)

Greetings...

I'm working on validating large json file with millions of records in batches using jsonschema Draft202012Validator.

[python]impor..... More

Print this item

  Save multiple Parts of Bytearray to File ?
Posted by: lastyle - Dec-10-2022, 12:07 AM - Forum: General Coding Help - Replies (1)

Hi all.

i`ve got an fixed Bytearray which consist of a $40 Bytes FileHeader and $10 Bytes Packet Header followed by $2000 Bytes Raw data

From th..... More

Print this item

  Tensor flow for real-time shop shelf monitoring
Posted by: DragusPatrick - Dec-09-2022, 11:49 PM - Forum: News and Discussions - Replies (3)

Hello guys.
I need some advice regarding a little project.
Basically I want to monitoring in real time the quantity of products from a shelf and whe..... More

Print this item

  Inconsistent loop iteration behavior
Posted by: JonWayn - Dec-09-2022, 11:08 PM - Forum: General Coding Help - Replies (2)

I have some code that opens a website, submits search criteria, and loops through each resulting table row for the link to the details behind it. The ..... More

Print this item

  How to properly format rows and columns in excel data from parsed .txt blocks
Posted by: jh67 - Dec-09-2022, 08:00 PM - Forum: General Coding Help - Replies (7)

Hi. I'm trying to create an excel sheet using data made up from specific, recurring blocks of text in a .txt file and ignoring all other data in the f..... More


Attached Files

Thumbnail(s)
   
Print this item

  Tkinter messagebox
Posted by: WiPi - Dec-09-2022, 07:52 PM - Forum: General Coding Help - Replies (4)

Hi Guys,

I'm using the tkinter message box which works fine but I'm struggling to get code that checks if a messagebox is already open. So my working..... More

Print this item

  loading data
Posted by: astral_travel - Dec-09-2022, 07:50 PM - Forum: Data Science - Replies (7)

i'm trying to download stock data from yahoo! finance....
in anyway - i'm trying to have a symbol to download by loading the symbol/tickers from a fi..... More

Print this item

  extract lower/upper antitriangular matrix
Posted by: schniefen - Dec-09-2022, 05:43 PM - Forum: Homework - Replies (2)

In numpy you can use np.tril(x) to extract the lower triangular matrix of an array x. However, I am interested in ex..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [solved] regex issue 6 hours ago paul18fr Pedroski55 General Codin...
  Struggling to Scrape Stru... Yesterday, 07:23 Fliminio noisefloor Web Scraping ...
  tkinter weird image displ... 10-18, 11:15 pyDream deanhystad GUI
  Making a colour field 10-18, 10:58 Leo_Red OtiliaGen GUI
  why I can't pip install f... 10-17, 18:40 Cauchy snippsat General Codin...
  Sound Meter 10-17, 06:12 dcanogi OtiliaGen General Codin...
  Help with Lists 10-16, 18:16 Nevvieboy noisefloor General Codin...
  Data Science Roadmap for ... 10-15, 10:26 shiv11 DeepaMalik Data Science
  Convert JSON to CSV 10-15, 00:05 Linuxdesire Pedroski55 General Codin...
  Variable not defined, but... 10-14, 20:28 ET_ snippsat General Codin...
  sharing ready to use code... 10-14, 17:35 kucingkembar noisefloor General Codin...
Most views
  The best Prog... 577803
  Tutorial Requ... 504417
  Web Scraping ... 441281
  Newbie with P... 385268
  New Users Int... 371411
Most reputation
buran 581
snippsat 510
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12095
buran 8181
snippsat 7381
deanhystad 6901
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
wildpineapplegator3Dip Today
zanyglitterpeacock4Dip Today
neonfalcon88Dip Today
loko55 Yesterday
Blablabla Yesterday

User Panel Messages

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