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,389
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 1
» Views: 41
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
6 hours ago
» Replies: 9
» Views: 223
IP address for users
Forum: Networking
Last Post: itx_sumeet
Today, 05:53 AM
» Replies: 4
» Views: 7,061
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,886
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 136
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 79
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 142
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,294
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 104
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 754

 
  declaring object parameters with type
Posted by: JonWayn - Dec-13-2022, 07:28 PM - Forum: General Coding Help - Replies (2)

When I pass an object in as a parameter to a function, is there a way to specify in the function declaration what type the parameter is so that I can ..... More

Print this item

  luks partitiion
Posted by: arbiel - Dec-13-2022, 03:05 PM - Forum: General Coding Help - No Replies

Hi

I'm looking for a package to handle luks partitions.

Please, if there is one, tell me how to install it ?

Arbiel

Print this item

Question Help me modify this .txt into .csv with Python
Posted by: mgzz - Dec-13-2022, 02:42 PM - Forum: General Coding Help - Replies (1)

Im having A LOT of difficulty. I have an assignment which is to modify this file https://easyupload.io/axktqq through Python into CSV cp1252 (Excel) w..... More

Print this item

  comparing columns
Posted by: arvin - Dec-13-2022, 12:34 PM - Forum: General Coding Help - Replies (5)

I want to compare two columns.
If the values in column A is present in column B then the values should copy in column C with any special symbol in fr..... More

Print this item

  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: 232)
.py   example_test (1).py (Size: 2.46 KB / Downloads: 231)
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: 275)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 4 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... 6 hours ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 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...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580355
  Tutorial Requ... 519002
  Web Scraping ... 442769
  Newbie with P... 386949
  New Users Int... 386189
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
atalieyandext4063 Today
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today

User Panel Messages

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