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,397
» Latest member: JulioLet
» Forum threads: 38,823
» Forum posts: 176,027

Full Statistics

Online Users
There are currently 51 online users.
» 2 Member(s) | 41 Guest(s)
Bing, AOL, Facebook Dev, Google, Mojeek, OtiliaGen, Pedroski55

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
2 hours ago
» Replies: 27
» Views: 15,512
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 126
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 202
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,615
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 174
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 328
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,127
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,987
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 198

 
  Django CSS
Posted by: Sowmya - Mar-15-2024, 05:45 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all.
I downloaded a free website template from travello website. In html file I am configuring CSS , I used {% load static %} at beginning of inde..... More


Attached Files

Thumbnail(s)
   
Print this item

  append str to list in dataclass
Posted by: flash77 - Mar-14-2024, 03:41 PM - Forum: General Coding Help - Replies (6)

Dear community,

I'm trying to append str to a list, which is in a dataclass.
I'm totally new to dataclasses.
I used to use a textfile for storing..... More

Print this item

  TypeError: unhashable type: 'Series'
Posted by: bongielondympofu - Mar-14-2024, 02:00 PM - Forum: Data Science - Replies (2)

I get the TypeError: unhashable type: 'Series' when running the code. The dataset does have a column called 'Date' The code is below
[python]
import..... More


Attached Files

Thumbnail(s)
   
Print this item

  Python Django
Posted by: Sowmya - Mar-14-2024, 12:26 PM - Forum: General Coding Help - Replies (4)

Hello all.
I am using Visual Studio Code 3.11.8 for python coding practice. Whenever I am trying to import module in python , I am getting Import co..... More


Attached Files

Thumbnail(s)
   
Print this item

  ChromeDriver breaking Python script
Posted by: genericusername12414 - Mar-14-2024, 04:03 AM - Forum: General Coding Help - Replies (1)

Have an old script im trying to run. It uses "chromedriver.exe" to run. Every once in a while when chrome updates it breaks the app and id have to go ..... More

Print this item

  File is not being created with 'w' argument
Posted by: CAD79 - Mar-13-2024, 08:04 AM - Forum: General Coding Help - Replies (3)

I am trying to create a small program to parse a text file that outputs data from a datalogger, but from what I have looked up online, using 'w' as an..... More

Print this item

Sad "Disabled" Buttons Still Clickable.
Posted by: Nd4SpdSe - Mar-12-2024, 06:46 PM - Forum: General Coding Help - Replies (6)

Hello. I've never been good a programming, and I know I'm trying to run before learning to walk, but it's kind of how I work by learning when I have a..... More

Print this item

  Saving file to html or pdf stopped working in PyQt6
Posted by: ejKDE - Mar-12-2024, 02:25 PM - Forum: GUI - Replies (4)

I'm currently trying to port PyQt5 to PyQt6 piece by piece. Functions that use html whether to save as html or pdf don't work and i couldn't find any ..... More

Print this item

  WebElements of an HTML page
Posted by: Nik1811 - Mar-12-2024, 12:39 PM - Forum: General Coding Help - Replies (2)

Hi! I'm new to Python programming and trying to create a POC for my project.

Goal:
1) Find all elements on the webpage(present inside and outside ..... More

Print this item

  break print_format lengthy line
Posted by: akbarza - Mar-12-2024, 11:24 AM - Forum: General Coding Help - Replies (4)

hi
in the below snippet code :

[python]info1={'name':'ali', 'classroom':3}
info2={'name':'mohammad','classroom':2}
print('{0[name]} is in class..... More

Print this item

  Interaction between Matplotlib window, Python prompt and TKinter window
Posted by: NorbertMoussy - Mar-11-2024, 04:14 PM - Forum: GUI - Replies (3)

Hi,
I would like to have a Maplotlib window with a graph and interacting with normal instruction from the kernel. In parallel, I would like to have a..... More


Attached Files

.py   Tkinter_talking_Mpl.py (Size: 1.75 KB / Downloads: 234)
Print this item

  Text parsing
Posted by: Arik - Mar-11-2024, 03:54 AM - Forum: General Coding Help - Replies (5)

Hello!

I parse emails with receipts to collect a database using Python.
Idea is to concatenate line starting with "&" or lowercase alphabet letter..... More

Print this item

  Why can I not see the code correctly in Python IDLE.?
Posted by: Trump - Mar-10-2024, 11:53 PM - Forum: General Coding Help - Replies (8)

I am using Python IDLE 2.7.18.4 on Windows 10. I copied a code from a pdf in my editor and made it as comments. The code look like this in my editor:..... More

Print this item

  print doesnt work in a function
Posted by: ony - Mar-10-2024, 06:51 PM - Forum: General Coding Help - Replies (2)

Ive been trying to make a random number generator with some luck stuff but im stuck here

[python]import random

randomnumber = random.sample(rang..... More

Print this item

  Portfolio Optimization code error i want to cry
Posted by: FinanceMotta - Mar-10-2024, 06:09 PM - Forum: General Coding Help - Replies (3)

I have been coding this bad boy for a long fucking time, started python recently more finance related stuff but i cannot get this MF to work like i sp..... More


Attached Files

.py   pinocchio_asset.py (Size: 3.74 KB / Downloads: 221)
Print this item

Question Running Python script through Task Scheduler?
Posted by: Winfried - Mar-10-2024, 03:39 PM - Forum: General Coding Help - Replies (8)

Hello,

This is my first try at running a Python (3.12.0) script through Windows 10's Task Scheduler… and it didn't work (as pretty much expected)...... More

Print this item

  No Internet connection when running a Python script
Posted by: basil_555 - Mar-10-2024, 09:18 AM - Forum: General Coding Help - Replies (8)

Hello. I have the follwoing Python code that checks a website for change. This script always gives me an error "Error checking website". What am I doi..... More

Print this item

  Weight Distribution
Posted by: 11drk9 - Mar-10-2024, 02:31 AM - Forum: General Coding Help - Replies (11)

Provide a python function for the below case and add a column
1) Sum parent weight based on Level_3 and distribute the values based on values in chil..... More

Print this item

  Learning curve
Posted by: astral_travel - Mar-09-2024, 09:16 PM - Forum: General Coding Help - Replies (3)

Hi,
Can you describe what would be the wanted and essential substances/knowledge in order to be able to develop an automatic stocks trading system whi..... More

Print this item

  Tkinter Matplotlib Animation Graph not rendering
Posted by: dimidgen - Mar-09-2024, 04:48 PM - Forum: GUI - Replies (3)

I am trying to plot a real time stock price graph on a tkinter frame using matplotlib's funcanimation and tkcanvas, however whenever I try and put it ..... More

Print this item

  How to communicate between Electron Framework and python
Posted by: Abdul_Rafey - Mar-09-2024, 12:18 PM - Forum: General Coding Help - No Replies

I am trying to make a face recognition attendance system for schools using Python and Electron. I am using multiprocessing in Python which will create..... More

Print this item

  using PowerShell from Python script for mounting shares
Posted by: tester_V - Mar-09-2024, 07:11 AM - Forum: General Coding Help - Replies (8)

Greetings to you all!
I have a list of Hosts, I need to connect to each host and do something with the files on it.
For some reason some of the host..... More

Print this item

  Load data in Oracle
Posted by: muzokh - Mar-08-2024, 11:19 PM - Forum: General Coding Help - No Replies

hi
I am working on this for the last night but no luck . I am trying to load multiple csv files from a specific folder and load in into oracle data..... More

Print this item

  Adding PD DataFrame column
Posted by: bsben - Mar-08-2024, 04:14 PM - Forum: General Coding Help - Replies (2)

Moring All.

I'm a bit stuck when adding a new column to a DF. This can get a little confusing, but will try to keep it simple.

I'm working with..... More

Print this item

  Help with to check an Input list data with a data read from an external source
Posted by: sacharyya - Mar-08-2024, 08:35 AM - Forum: General Coding Help - Replies (3)


.py   real_Time_Sinu_V5.py (Size: 7.06 KB / Downloads: 235)

I am not from coding background but currently am coding using python due to job requirements.
I have attached the code with whic..... More

Print this item

  How to use Session Tokens
Posted by: thepodric - Mar-08-2024, 03:41 AM - Forum: Web Scraping & Web Development - Replies (1)

I make my request from a server:
[python]

obj = requests.Session()
response = obj.request('get','https://192.168.0.22/api/', auth = HTTPB..... More

Print this item

  Help with input on make a questionforms
Posted by: sodavatten - Mar-07-2024, 08:59 PM - Forum: GUI - Replies (1)

In the process of learning python and tkinker via the internet on my own:-)

Have a small project I'm trying on right now, I think I'll learn more ..... More

Print this item

  A new endgame problem, almost solved but not quite 2
Posted by: max22 - Mar-07-2024, 07:12 PM - Forum: General Coding Help - No Replies

I'm trying to create my own chess endgame code for a trivial game 3 pieces on the board Q+K+k (all in Python) but I'm getting a wrong output at the n..... More

Print this item

  help with accessing .txt file and performing actions
Posted by: SamWestlakeCann - Mar-07-2024, 12:30 PM - Forum: General Coding Help - Replies (4)

Please forgive me in advance I am new and this has been doing my head in for ages, I just need to bash heads with someone to hopefully help any help w..... More

Print this item

  TypeError: cannot pickle ‘_asyncio.Future’ object
Posted by: Abdul_Rafey - Mar-07-2024, 07:52 AM - Forum: General Coding Help - Replies (1)

I am making a face recognition attendance system using python, whenever a request comes to WebSocket it opens a new camera in a new process using mult..... More

Print this item

  currency converter using forex-python
Posted by: preethy12ka4 - Mar-06-2024, 10:48 PM - Forum: General Coding Help - Replies (8)

I installed forex-python as pip in cmd and package in pycharm
I used an online code for currency conversion, which is throwing an error as shown belo..... More

Print this item

  Tkinter: An image and label are not appearing.
Posted by: emont - Mar-06-2024, 08:23 PM - Forum: GUI - Replies (7)

Hello,

I have this python code:

[python]import tkinter as tk
from typing import Self
import selenium
import os
import shutil
import getpas..... More

Print this item

  A new endgame problem, almost solved but not quite
Posted by: max22 - Mar-06-2024, 06:47 PM - Forum: News and Discussions - No Replies

I'm trying to create my own chess endgame code for a trivial game 3 pieces on the board Q+K+k (all in Python) but I'm getting a wrong output at the n..... More

Print this item

  Is a good practice naming user defined python functions with prefix udf_?
Posted by: meerkat - Mar-06-2024, 06:15 PM - Forum: News and Discussions - Replies (2)

As we know, usually python user defined functions are named like get_record_count(), add_numbers(). But to make the functions easy to search and manag..... More

Print this item

  Python Security
Posted by: Cammuel - Mar-06-2024, 03:41 PM - Forum: General Coding Help - Replies (1)

Hello,

I am new to Python and have yet to scrape the surface of its nature and capabilities. I have some previous experience coding and would reall..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 2 hours ago Pavel_47 Biks General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 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
Most views
  The best Prog... 580445
  Tutorial Requ... 519772
  Web Scraping ... 442789
  Newbie with P... 386997
  New Users Int... 386662
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
JulioLet Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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