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 36 online users.
» 0 Member(s) | 32 Guest(s)
Bing, Google, AOL

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
7 hours ago
» Replies: 1
» Views: 46
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
10 hours ago
» Replies: 9
» Views: 224
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,063
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,890
[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: 143
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: 755

 
  Add data to CSV file via Python
Posted by: Anaconda23 - Dec-30-2022, 02:31 AM - Forum: Data Science - No Replies

Hi there, I'm quite new in this field and I was wondering about the following issues:

I have a dataset to work with for a Machine Learning project...... More

Print this item

  How do I add comments from a text-file to an array of folders?
Posted by: clausneergaard - Dec-29-2022, 10:41 PM - Forum: General Coding Help - Replies (2)

Hello everyone -

I was just wondering, as I’ve ventured out on bit of a limp here, if anyone have any experience with automating the process of cre..... More

Print this item

  'networkx' Questions
Posted by: Trader - Dec-29-2022, 10:20 PM - Forum: General Coding Help - No Replies

How can I draw a network with a degree center 2 using Networkx?

How can I find the centralities of betweenness, proximity, self-worth for each node..... More

Print this item

  Error "list indices must be integers or slices, not str"
Posted by: dee - Dec-29-2022, 09:38 PM - Forum: General Coding Help - Replies (2)

I want to format Excel column to percent. The following code gave me "list indices must be integers or slices, not str" error. The __class__ of Column..... More


Attached Files

Thumbnail(s)
   
Print this item

  color code doesn't work
Posted by: harryvl - Dec-29-2022, 08:48 PM - Forum: General Coding Help - Replies (1)

I made a script in for printing colored numbers.
The output works fine in spyder.
We i run the script from my anaconda prompt it doesn't work.
Then..... More

Print this item

  Illegal instruction (core dumped) when import pandas.
Posted by: amandacstr - Dec-29-2022, 08:04 PM - Forum: General Coding Help - Replies (1)

Hello!
I have Python 3.10.6 installed in my system (Lubuntu 22.04). I installed pandas and pyarrow with "pip3 install" command but when I try to impo..... More

Print this item

Exclamation pong paddles wont move
Posted by: skullkat232 - Dec-29-2022, 07:42 PM - Forum: Game Development - Replies (5)

help pls! i am having trouble with the pong paddles and there are no visible errors in my code, pLeASe hELPA mE :((((

Here's my code:

[python]..... More

Print this item

  Loop to find the best combination/score
Posted by: KoinKoin - Dec-29-2022, 05:45 PM - Forum: Homework - Replies (21)

Hello everyone,

I need your help because I can't a good solution of my problem
I have a dataframe, with name of some NBA players, average number a..... More


Attached Files

Thumbnail(s)
   
Print this item

  Using CPUs and Cores
Posted by: Robots - Dec-29-2022, 05:17 PM - Forum: News and Discussions - No Replies

In my computers I am running multi-core or multipule CPUs, how can I get Python to use a specific CPU, core or set of either?

Print this item

  trying to stream data from a websocket to client
Posted by: tomtom - Dec-29-2022, 04:29 PM - Forum: Networking - Replies (2)

My mission is to create a websocket server that send signal to any client connected to the websocket, the signal should be sent only when they is a sp..... More

Print this item

  Convert Python code to MATLAB code
Posted by: bitoded - Dec-29-2022, 01:53 PM - Forum: News and Discussions - Replies (4)

How can I convert Python code to MATLAB code?

Print this item

  Module Not Found Error
Posted by: bitoded - Dec-29-2022, 01:48 PM - Forum: General Coding Help - Replies (4)

I tried to fix the error below but doesn't work.

Error:
ModuleNotFoundError: No module named 'numpy'
Share me your idea to fix the probl..... More

Print this item

  user input values into list of lists
Posted by: tauros73 - Dec-29-2022, 11:13 AM - Forum: General Coding Help - Replies (3)

I have the following code :

[python]import itertools
from functools import reduce
CountOfCombination= 0
for i in itertools.product((1,2),(1,2,0..... More

Print this item

  PDF readers
Posted by: DPaul - Dec-29-2022, 06:50 AM - Forum: Bar - Replies (10)

Hi,
In the realm of genealogy, people have often turned their life's work into a pdf.
It usually can be read using pdfplumber and sometimes pdfminer.
..... More

Print this item

  Priority Queue with update functionality
Posted by: PythonNewbee - Dec-29-2022, 05:09 AM - Forum: General Coding Help - Replies (4)

I'm trying to implement a priority queue which allows me to update details of items already in queue.
I found a simple implementation in the Python d..... More

Print this item

Bug Works In Pycharm, Tons of problems after EXE
Posted by: chob_thomas - Dec-29-2022, 04:12 AM - Forum: General Coding Help - Replies (3)

Im using two .py files to accomplish the task of converting pdfs to tables then saving them into an excel sheet.
Everything works as it should when r..... More

Print this item

Question How to print directory files (& timestamps)
Posted by: chatguy - Dec-29-2022, 12:08 AM - Forum: Homework - Replies (3)

Please pardon my simple question (Unfortunately Google searches haven't been much luck)

With Python, how do I print all files in a directory where:..... More

Print this item

Question Best Python course (internet or better software) for a unknowing. If possible German.
Posted by: Tobias_Claren - Dec-28-2022, 08:31 PM - Forum: News and Discussions - Replies (3)

Hello.

I hope this fits best in this forum, and not in "Tutorials".

I am looking for the best learning material for Python.
Gladly interactive...... More

Print this item

  Loop Video with OMXPlayer and omxplayer-wrapper
Posted by: uh60pin - Dec-28-2022, 04:32 PM - Forum: General Coding Help - Replies (3)

Hello,

I am using the following code to play a video using a button press. It is set up so that the video starts playing when the button is pressed, ..... More

Print this item

  Help with creating loops and Iterations for ISO Weeks
Posted by: abecruz92 - Dec-28-2022, 02:52 PM - Forum: Homework - Replies (1)

Hi There.
Please see the attatchment "Py Question" to view my dataset.

Question 1
In Column C (Rating on the first day of the week
I wan..... More


Attached Files

Thumbnail(s)
   
Print this item

Information Web-scraping, multiple webpages
Posted by: Pabloty92 - Dec-28-2022, 12:55 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello there,

I'm a newbie and still learning python and I have some problem with my scraping code. Namely, I would like to scrap data from 273 page..... More

Print this item

  Name not found in response json
Posted by: NewbiePyt - Dec-28-2022, 09:47 AM - Forum: General Coding Help - Replies (4)

HI,

Newbie here.
Not sure whats wrong with this code.
If anyone could help.
Basically what i want is, once entered a name of a selection I would lik..... More


Attached Files

Thumbnail(s)
   
Print this item

  [Solved] Import syntax
Posted by: SpongeB0B - Dec-28-2022, 06:46 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

on https://docs.python.org/3/library/concur...or-example

we can see [inline]import concurrent.futur..... More

Print this item

  String replacement in DB
Posted by: WJSwan - Dec-28-2022, 05:22 AM - Forum: General Coding Help - No Replies

I have two SQLite3 databases each with one table:
Database: MyModule.db has a table "content"
CREATE TABLE "content" (
"topic_id" integer,..... More

Print this item

  What colon (:) in Python mean in this case?
Posted by: Yapwc - Dec-28-2022, 04:20 AM - Forum: General Coding Help - Replies (4)

As shown below, may anyone help to explain what does the x: int and y: int does in the point class? Source code from [here](https://docs.python.or..... More

Print this item

  Trying to extract style attribute with BeautifulSoup
Posted by: knight2000 - Dec-28-2022, 02:22 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello all,

In practising some simple web scraping using Requests and BeautifulSoup, I've come across a challenge I haven't tried before and after s..... More

Print this item

  How to continuously receive messages until specified to stop using Bleak
Posted by: jacobbreen25 - Dec-27-2022, 10:35 PM - Forum: General Coding Help - Replies (3)

I am trying to make a program that receives data from a bluetooth device until you press a button to make it stop. I attempted to use start_notify how..... More

Print this item

  Constraint function
Posted by: tman - Dec-27-2022, 08:48 AM - Forum: Homework - Replies (4)

I need to code this function out; it’s subject to the following constraints.


e[k+1] = t*e[k+1] + eta_c*p_c[k] -p_d[k]/eta_c. (1)

p_c[k]*p_d..... More

Print this item

  Create a function vector
Posted by: Cooketaker - Dec-27-2022, 01:42 AM - Forum: Data Science - Replies (4)

I want to create a function that is modified with a loop and then I can call those different functions from a function vector.
The function to be mod..... More

Print this item

  selenium. xpath error
Posted by: 3lnyn0 - Dec-26-2022, 12:19 PM - Forum: General Coding Help - Replies (1)

Hi! why does't it click on the 'agree' button?

[python]from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
fr..... More

Print this item

  Pygame Pong
Posted by: menator01 - Dec-26-2022, 06:48 AM - Forum: Code sharing - No Replies

My attempt at a pong game. To play you will need to change the Human variable to True on line 156 and you will need to correct the path for the image ..... More

Print this item

  Tkinterweb (Browser Module) Appending/Adding Additional HTML to a HTML Table Row
Posted by: AaronCatolico1 - Dec-25-2022, 06:28 PM - Forum: General Coding Help - No Replies

I'm trying to figure out a way to append additional rows to a html table using the '..... More

Print this item

Information How to take url in telegram bot user input and put it as an argument in a function?
Posted by: askfriends - Dec-25-2022, 03:00 PM - Forum: General Coding Help - No Replies

hi;
Im new to python and telegram bot thing.
So i have created a python script using some library to bypass ad links, which takes url by using /bypa..... More

Print this item

  Find duplicate files in multiple directories
Posted by: Pavel_47 - Dec-25-2022, 02:32 PM - Forum: General Coding Help - Replies (9)

Hello,

This snippet allows to find duplicate files in multiple directories and count the number of duplicates.
[python]import os

dir1 = '/...pa..... More

Print this item

  Problem with print variable in print.cell (fpdf)
Posted by: muconi - Dec-25-2022, 02:24 PM - Forum: General Coding Help - No Replies

Hi, i have problem with printing result from some simple example in pdf file?
pdf.cell(200, 10, "Nesto stampam" + c_string, 1, 0)

[python]i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 7 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... 10 hours ago 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...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580359
  Tutorial Requ... 519046
  Web Scraping ... 442771
  Newbie with P... 386952
  New Users Int... 386235
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 Yesterday
finallen321 Yesterday
DTECHSYSTEM Yesterday
zashleyfracesz3221 Yesterday
itx_sumeet Yesterday

User Panel Messages

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