Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,481
» Latest member: Anthonysof
» Forum threads: 38,579
» Forum posts: 174,812

Full Statistics

Online Users
There are currently 477 online users.
» 0 Member(s) | 471 Guest(s)
Bing, Yandex, Google, Yandex Images, Applebot

Latest Threads
How to attach images to a...
Forum: Board
Last Post: sethmike9
Today, 04:08 AM
» Replies: 6
» Views: 8,872
How To Attach data Files
Forum: Board
Last Post: sethmike9
Today, 04:05 AM
» Replies: 3
» Views: 4,140
Text frame
Forum: Homework
Last Post: Pedroski55
Yesterday, 07:39 PM
» Replies: 2
» Views: 360
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
Yesterday, 06:28 PM
» Replies: 0
» Views: 150
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 273
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 214
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,388
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 158
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 493
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,335

 
  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

  AttributeError
Posted by: Calli - Dec-25-2022, 07:28 AM - Forum: General Coding Help - Replies (2)

[python]
import unrar

# Open the RAR3 file
rar = unrar.RarFile('hash.rar')

# Get the password hash of the RAR3 file
password_hash = rar.password_has..... More

Print this item

  Killed
Posted by: Calli - Dec-25-2022, 07:23 AM - Forum: General Coding Help - Replies (1)

While running the program it simply gives the output "Killed" why is it and how can I solve this?

[python]
import hashlib

# Open the RAR3 file..... More

Print this item

  [ERROR] ParamValidationError: Parameter validation failed: Invalid type for parameter
Posted by: gdbengo - Dec-25-2022, 03:43 AM - Forum: General Coding Help - Replies (3)

Hello to All! I hope someone could help figure out how to get this one working. I have a AWS Lambda function that is triggered by a json fill upload t..... More

Print this item

Question Question about working with dictionaries
Posted by: Ashcora - Dec-24-2022, 09:24 AM - Forum: General Coding Help - Replies (13)

Hello forum,

I am having the current hurdle working with dictionaries.
Concrete: I am trying to add variable amounts of components to a JIRA issue.

..... More

Print this item

  pandas df inside a df question
Posted by: mbaker_wv - Dec-24-2022, 02:52 AM - Forum: Data Science - Replies (4)

hello

here is my initial code

[python]
# Parse the input CSV file
df = pd.read_csv('employees.csv')

# Filter out employees who have not tak..... More

Print this item

  How to extract links from grid located on webpage
Posted by: Pavel_47 - Dec-23-2022, 07:06 PM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

How to extract links from this url:
Une sélection de concerts électroniques [url=https://python-forum.io/thread-39042.html]..... More

Print this item

  Big O runtime nested for loop and append
Posted by: yarinsh - Dec-23-2022, 04:12 PM - Forum: General Coding Help - Replies (4)

Hello, after an argumant I would like to get answer from people who know about that bigO

What is the runtime big O for this code?

I think this i..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to attach images to a... Today, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files Today, 04:05 Talch sethmike9 Board
  Text frame Yesterday, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... Yesterday, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
Most views
  The best Prog... 565683
  Tutorial Requ... 457784
  Web Scraping ... 430634
  Newbie with P... 367059
  Thread remain... 339289
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Anthonysof Today
whitecat25 Today
livecricket Today
reactnativeexpert Today
sethmike9 Today

User Panel Messages

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