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,924
» Latest member: Fobertsmene
» Forum threads: 38,719
» Forum posts: 175,491

Full Statistics

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

Latest Threads
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
7 hours ago
» Replies: 6
» Views: 787
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 488
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,771
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,689
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 394
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 456
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,531
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,479
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,215
Web Scrapper to find prov...
Forum: General Coding Help
Last Post: Olivia
Sep-12-2025, 08:36 AM
» Replies: 1
» Views: 2,422

 
  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: 201)
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: 195)
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: 208)

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

  using ctypes to use a dll in a python module
Posted by: dauriac - Mar-05-2024, 02:48 PM - Forum: General Coding Help - Replies (3)

Hello, working on a windows system and I need to import a dll into a python module. I use ctypes
[python]
import ctypes,sys
myLib = ctypes.CDLL("./..... More

Print this item

  Screenshot problem
Posted by: DPaul - Mar-05-2024, 07:34 AM - Forum: Bar - Replies (7)

Hi,
When a user wants to save a document , that is shown in the tKinter canvas area of the gui,
he hits a button, and a screenshot is taken to the c..... More

Print this item

  PIL not recognised in subprocess
Posted by: bobtbown - Mar-05-2024, 04:32 AM - Forum: General Coding Help - Replies (2)

I have a script to show images using the the import "from PIL import Image, ImageTk" and it works fine when running the script by itself. I have Pill..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Select Python comment (#)... 7 hours ago SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
  403 Error 09-11, 20:39 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 575643
  Tutorial Requ... 496734
  Web Scraping ... 439703
  Newbie with P... 383335
  New Users Int... 364586
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Fobertsmene Yesterday
jeremyn24503 Yesterday
homataheri Yesterday
Dev Yesterday
RonR 09-13

User Panel Messages

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