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,395
» Latest member: RockHound_Z12
» Forum threads: 38,822
» Forum posts: 176,025

Full Statistics

Online Users
There are currently 42 online users.
» 0 Member(s) | 35 Guest(s)
Bing, Google, Facebook, AOL, Mojeek, AOL, Google Image

Latest Threads
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
6 hours ago
» Replies: 1
» Views: 4,571
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 4
» Views: 136
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
7 hours ago
» Replies: 7
» Views: 3,578
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 139
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 277
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,092
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,941
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 167
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 100
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 170

 
  sudo
Posted by: RyAn - Nov-09-2021, 03:09 AM - Forum: General Coding Help - Replies (2)

Hi,
I am new to this forum so I don't actually know that do people help with the terminal of the Raspberry Pi so if they don't than I shall ask on ..... More

Print this item

  Type error:takes 1 positional argument but 2 required
Posted by: hammer - Nov-08-2021, 11:30 PM - Forum: GUI - Replies (3)

From what i found online, below error should be satisfied if the called method has self included as an argument. To me it appears i have that part sat..... More

Print this item

  recursion used to convert string into sum
Posted by: fred1232 - Nov-08-2021, 10:33 PM - Forum: Code Review - No Replies

Recursive Python

I am trying to learn recursive programming in Python by reading a GitHub document titled “Understanding Recursion Using Python ” s..... More

Print this item

  what is wrong with my code?
Posted by: greenpine - Nov-08-2021, 10:01 PM - Forum: Web Scraping & Web Development - No Replies

Hello;
I am learning python and tried the following code which is posted ..... More

Print this item

  Convert string to path using Python 2.7
Posted by: tester_V - Nov-08-2021, 09:07 PM - Forum: General Coding Help - Replies (10)

Greetings!
I need to find yesterday's modified directories.

but a PC I'm running the code on has Python 2.7 and I cannot use pathlib...
The code..... More

Print this item

  List of dataframe values beginning with x,y or z
Posted by: glidecode - Nov-08-2021, 08:30 PM - Forum: General Coding Help - Replies (3)

I have found a way to return all rows of a specified column in a data frame beginning with letter x.
The following will return a new dataframe reduce..... More

Print this item

  Import a module for use in type hint?
Posted by: Milosz - Nov-08-2021, 06:49 PM - Forum: General Coding Help - No Replies

Hello!
I have my own class called ShareData which consist all game settings, images, sounds etc. I pass one instance of ShareData as an __init__ argu..... More

Print this item

  Parsing bs4 Resultset
Posted by: gw1500se - Nov-08-2021, 04:21 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm having trouble understanding the intricacies of BeautifulSoup. I did a find for a specific 'select' tag using 'find(id=...)'. The returned results..... More

Print this item

  How to make scraper send email notification just once
Posted by: themech25 - Nov-08-2021, 01:51 PM - Forum: General Coding Help - No Replies

Hi, I've created a simple python scraper with beautifulsoup that checks a site every 5 minutes to see if it contains the word 'dog'. If the word is pr..... More

Print this item

  Plot 3 variables
Posted by: Menthix - Nov-08-2021, 01:50 PM - Forum: General Coding Help - Replies (3)

Hello,
I would like to make a plot according to 3 variables. I have a database that includes several theatrical performances at the Comédie-Français...... More


Attached Files

Thumbnail(s)
       
Print this item

  Python Docx
Posted by: murtuza - Nov-08-2021, 11:43 AM - Forum: Data Science - No Replies

HI this is Murtuza
I am generating a docx file using python docx library
here i want to add table i had done that but how to merge columns and row..... More


Attached Files

Thumbnail(s)
   
Print this item

  How to reuse a window layout based on mysql rowcount?
Posted by: retroisbest - Nov-08-2021, 09:11 AM - Forum: GUI - Replies (2)

Good morning,
Please excuse my ignorance I have tried searching the forums to no avail.

I'm trying to generate multiple windows using pysimplegui bas..... More

Print this item

  Table displayed out of order
Posted by: nigelwright7557 - Nov-08-2021, 04:58 AM - Forum: General Coding Help - Replies (3)

I have a webpage with some buttons then a table then some links.

For some reason it displays buttons, links then table

If I delete table command..... More

Print this item

  Comepileerror from TMPDIR environmental variable?
Posted by: runboy1581 - Nov-08-2021, 02:26 AM - Forum: General Coding Help - No Replies

Hello. I am trying to use a scientific tool using python and requiring NVIDIA CUDA to run it. I tried to open it in Anaconda Spyder for a test, but I ..... More

Print this item

  Pandas (Python) in powerBI loop
Posted by: abderrazak_rouchad77 - Nov-08-2021, 12:54 AM - Forum: General Coding Help - No Replies

Good evening please i need your help I wrote this code to calculate the final stock; the problem is that I want to apply a loop on 'code article' and ..... More


Attached Files

Thumbnail(s)
   
Print this item

  function for extracting data from lists
Posted by: Paulman - Nov-08-2021, 12:46 AM - Forum: Homework - Replies (9)

Hi,
I'm struggling with this problem:
create a function named get_data, that takes two arguments, Data and Key.
- Data is the list of dictionarie..... More

Print this item

  Data Science - "key of type tuple not found and not a MultiIndex"
Posted by: priyanshuaggarwal - Nov-07-2021, 11:22 PM - Forum: Data Science - No Replies


.py   Ridge Project.py (Size: 5.92 KB / Downloads: 0)

Kaggle link of house prediction using Ridge r[url=https://python-forum.io/thread-35473.html]..... More


Attached Files

.xlsx   Real estate valuation data set.xlsx (Size: 31.95 KB / Downloads: 0)
Print this item

  List to table issue
Posted by: robdineen - Nov-07-2021, 09:12 PM - Forum: General Coding Help - Replies (2)

I am having a problem converting a list to a table.

an example list i'm using is

[Asset({ 'class': 'us_equity',
'easy_to_borrow': False,
'..... More

Print this item

  Subplot - Plotting 4 plots on the same row
Posted by: Menthix - Nov-07-2021, 02:54 PM - Forum: General Coding Help - Replies (1)

Hello !
I'd like to plot 4 plots on the same raw but I don't know how... I tried the command : plt.subplot(1,4,) but it doesn't seem to work.

Y..... More

Print this item

  Good practices with Python if
Posted by: Pedroski55 - Nov-06-2021, 11:42 PM - Forum: General Coding Help - Replies (1)

This kind of "if clause" works ok.

I'm just wondering if (no pun intended) this is good practice when writing Python.

[python]sign = '-' if n < ..... More

Print this item

  How can I find the value of k(subscript t+1) for periods t=1...50?
Posted by: maeva - Nov-06-2021, 09:44 PM - Forum: General Coding Help - Replies (2)

Hello,
I know that:

k(subscript t+1)= (1−δ)k(subscript t) + s[k^(θ)(subscript t)]
s=0.08
δ=0.3
θ= 0.35
k(subscript 0)=2.5

[python]
(δ,s,θ)..... More

Print this item

  Remove an item from a list contained in another item in python
Posted by: CompleteNewb - Nov-06-2021, 08:17 PM - Forum: General Coding Help - Replies (19)

I have this randomly generated list in python:

l = [[2,3,4,5],[2,3],[7,8],[2],[4,5,6]]

and i want to remove the items [2,3] and [2] because they..... More

Print this item

  How to get json data by request with header?
Posted by: dokipo - Nov-06-2021, 04:49 PM - Forum: Homework - No Replies

Hello, I would like to go to page https://losoviny.iamroot.eu/part_one and write json text from there.
End at first I must login in https://losoviny...... More

Print this item

  Simple Python script, path not defined
Posted by: dubinaone - Nov-06-2021, 04:39 PM - Forum: General Coding Help - Replies (3)

Beginning python class, writing a simple script. I cannot figure out why my script is getting path not defined exception


Attached Files

.py   SteveDubinaFIrstScript_Att3.py (Size: 2.96 KB / Downloads: 333)
Print this item

  PyQt5 or tk
Posted by: Tek - Nov-06-2021, 03:55 PM - Forum: GUI - Replies (2)

Hello Py Community, I hope the weekend is seeing you all alive and well.
I have a quick question, recommendation request:

I've been working throug..... More

Print this item

  parallel iterables
Posted by: Skaperen - Nov-06-2021, 07:45 AM - Forum: News and Discussions - Replies (9)

is there a tool (an iterable) that can iterate over a list of given iterables in parallel?

Print this item

  Tkinter Window Has no Title Bar
Posted by: gw1500se - Nov-05-2021, 07:19 PM - Forum: GUI - Replies (4)

I am unable to get started with tkinter. I wrote this simple python3 script:

[python]
import tkinter as tk
top=tk.Tk()
top.title("Title")
top.m..... More


Attached Files

Thumbnail(s)
   
Print this item

  Encoding Error
Posted by: Racer_x - Nov-05-2021, 04:13 PM - Forum: General Coding Help - Replies (7)

Hi Good People,

How many times do I get to say I'm new to Python, man much to learn: I consistently am getting the following error:

[error]'lat..... More

Print this item

  kivy binding issue
Posted by: hammer - Nov-05-2021, 03:07 PM - Forum: GUI - Replies (8)

Can you pass arguments in the kivy bind operation? See below where i am experimenting with calling a function to build a input screen and add it to a ..... More

Print this item

  Dynamically Add rows to table
Posted by: TommyAutomagically - Nov-04-2021, 10:03 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying to take data from the database and display this within a table in my html template. But i want each item in the database to be show..... More

Print this item

  'module' object is not callable
Posted by: Racer_x - Nov-04-2021, 02:17 PM - Forum: General Coding Help - Replies (5)

Hi All,,

I'm a rookie with Python and as you can see from above I'm getting the following message. If I remove the xport line I receive no errors. ..... More

Print this item

  What to do when the requirements.txt file does not work
Posted by: Led_Zeppelin - Nov-04-2021, 01:09 PM - Forum: General Coding Help - Replies (2)

I tried to install the environment using requirements.txt file shown below. I used the usual command

pip install -r ....

[output]
#python==3.7..... More

Print this item

  Serializing Python data Correctly (JSON)
Posted by: JgKSuperstar - Nov-04-2021, 12:23 PM - Forum: General Coding Help - Replies (4)

Hi, I want to store the users I created in the file named "asdsad". The first information is being processed correctly, but the second information is ..... More

Print this item

  Remote Job Python Developer
Posted by: JohWebster - Nov-04-2021, 11:18 AM - Forum: Jobs - Replies (4)

Hello,

I am working as a Website Developer at RugKnots. If you want to check the website, it is: www.rugknots.com

We are currently having a vaca..... More

Print this item

  SSL error while trying to update conda
Posted by: ilango - Nov-04-2021, 08:38 AM - Forum: General Coding Help - No Replies

We are trying to upgrade python 36 version to 3.6.13. Py36 is venv. We use miniconda as package manager. We performed successfully this task in dev en..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Struggles I Faced While E... 6 hours ago baffa_dbt padma121 Code Review
  Willing to pay for help w... 6 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... 7 hours ago Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 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...
Most views
  The best Prog... 580400
  Tutorial Requ... 519414
  Web Scraping ... 442776
  Newbie with P... 386976
  New Users Int... 386445
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
RockHound_Z12 Today
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday

User Panel Messages

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