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

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

 
  I'm trying to visualize neuron weights with PIL but getting a white image.
Posted by: pointdexter16 - Apr-13-2024, 12:32 PM - Forum: GUI - Replies (1)

[python]
from PIL import Image
import copy
import numpy as np
import pickle
#-------Sample--------------------------------------(THIS WORKS)
# v..... More

Print this item

  Recommend a self-developed IDE to help Tinter developers
Posted by: Honghaier - Apr-13-2024, 09:00 AM - Forum: GUI - Replies (1)

Big Grin Guys, I have developed an IDE called PyMe, which can help developers easily create projects, design interfaces through drag and drop opera..... More

Print this item

  Cython, Pandas, and Chained Assignment
Posted by: sawtooth500 - Apr-12-2024, 09:32 PM - Forum: General Coding Help - Replies (4)

So have a script called backtest.pyx. Script works fine with no errors/warnings.

Now I compliled the entire script using cython and I have the pyd ..... More

Print this item

  very newbie problem on text file
Posted by: zapad - Apr-12-2024, 06:10 PM - Forum: General Coding Help - Replies (2)

hello
I am a very beginner in python (2 months) and I am trying co complete a script that seems
very simple even for a beguinner , but I am giving..... More

Print this item

  wrong entries in sqlite database and tkinter
Posted by: epsilondatum - Apr-12-2024, 05:37 PM - Forum: General Coding Help - Replies (2)

hello all...first time here,need some advice please!
my case: when i add a new product in my program,its values go to customers fields,not in the pro..... More

Print this item

  replacement for fpformat.extract
Posted by: GbSig1998 - Apr-12-2024, 01:41 PM - Forum: General Coding Help - Replies (4)

I have some python 2.7 code that I need to update to 3.10. The code used fpformat.extract() to determine the following:

Python 2.7 Code
[python] ..... More

Print this item

  Fixture not returning webdriver element
Posted by: Nik1811 - Apr-12-2024, 11:02 AM - Forum: General Coding Help - Replies (1)

Hi,
I've added a new fixture to return webdriver and access it within my 'Login' method. I'm receiving the below error as webdriver is not returned,..... More

Print this item

  Open files in an existing window instead of new
Posted by: Kostov - Apr-12-2024, 09:57 AM - Forum: General Coding Help - Replies (2)

OS: Linux Mint 21.3
Python version: 3

I’m transcribing .mp3 audio files. To make the job easier, I’ve bound the following script in ..... More

Print this item

  looking for feedback
Posted by: Luckyoz - Apr-12-2024, 07:57 AM - Forum: Homework - Replies (4)

Note : its my first program in python (i used to script for roblox games in lua)

[python]
menu = {}
menu["sandwich"] = 20;
menu["burger"] = 25;..... More

Print this item

  Very Beginner question on simple variables
Posted by: Harvy - Apr-11-2024, 10:47 PM - Forum: General Coding Help - Replies (1)

is this even possible and if so how.

var1 = 123
var2 = 345
var3 = 678
i = 2
print (var.i)

output would be 345

Print this item

  cmd terminal
Posted by: Raysz - Apr-11-2024, 07:28 PM - Forum: General Coding Help - Replies (6)

So I have the simple program
that I made in Python tkinter

It opens up a cmd window and executes sfc /scannow

What I'm trying to figure out is ..... More

Print this item

  Plot several graphs in one plot
Posted by: Ferdiss - Apr-11-2024, 03:37 PM - Forum: General Coding Help - Replies (1)

Hi,
I will use an easy example to ask my question:

time1=[1,2,3,4,5,6] (sek)
time2=[0.5,2,5,6,7.5,8.6,10] (sek)

y1=[20,40,60,80,90,100] (N)..... More

Print this item

  calculator app problem
Posted by: jacksfrustration - Apr-11-2024, 12:13 PM - Forum: General Coding Help - Replies (1)

hello. so im trying to build a calculator app GUI with tkinter and i have the following problem
First to explain how the code works, i concatenate di..... More

Print this item

  xvfb - Python Module - simpe_3dviz - wxpython - gui
Posted by: JayToll - Apr-11-2024, 09:59 AM - Forum: GUI - Replies (4)

Hello all - Jayson Here... and i have an issue with a Program that uses WxPython now for a gui, hopefully with flask later for web visability on my Vi..... More


Attached Files

Thumbnail(s)
   
Print this item

  ZeroDivisionError
Posted by: laurawoods - Apr-11-2024, 01:42 AM - Forum: General Coding Help - Replies (2)

[code]# Trouble in the code
def calculate_average(numbers):
try:
total = sum(numbers)
average = total / len(numbers)
..... More

Print this item

  501 Server cannot accept argument
Posted by: anna17 - Apr-11-2024, 01:08 AM - Forum: General Coding Help - No Replies

Hello
Please Help me


import sys
from ftpext.ftpext import FTPExt

source = FTPExt("100.20.75.35", **21**, "user1", "abc", False, False, 0)
..... More

Print this item

  Stuck on installing PyQt5-tools
Posted by: safety789 - Apr-10-2024, 04:19 PM - Forum: General Coding Help - Replies (1)

0

i already install PyQt5 and upgrade pip and setuptools to latest version.my python version is 3.12.2. i also add qmake in windows path variable. ..... More

Print this item

  Problems with super()
Posted by: Hoespilaar - Apr-10-2024, 07:54 AM - Forum: General Coding Help - Replies (3)

Hi, I've been working on a game that requires classes and subclasses. In order to keep some sort of structure, I wanted to put them in different files..... More

Print this item

Sad [Solved] I'm not getting the good type
Posted by: slain - Apr-10-2024, 07:51 AM - Forum: General Coding Help - Replies (18)

Hello,

What I want to do :
The user uploads an audio record (taken from windows 10/11's audio recorder, or recorded during a Teams meeting, or rec..... More

Print this item

  How do I parse the string?
Posted by: anna17 - Apr-10-2024, 07:07 AM - Forum: General Coding Help - Replies (8)

hello

There is a string below.
FTP://21.105.28.15/abc/test1.txt
Cut this string
/abc/
I just want to get the path.

How do I parse the string..... More

Print this item

  please help
Posted by: natalie321 - Apr-10-2024, 03:51 AM - Forum: General Coding Help - Replies (7)

I'm working on a Python script to parse a large CSV file and extract specific data, but I'm encountering performance issues. Here's a simplified versi..... More

Print this item

  Thread deleted
Posted by: ChrisOfBristol - Apr-10-2024, 02:04 AM - Forum: General Coding Help - No Replies

Thread deleted

Print this item

  upload from FTP(10.41.200.21) to FTP(10.41.101.25)
Posted by: anna17 - Apr-10-2024, 02:04 AM - Forum: Homework - Replies (1)

Hello.

How do I upload from FTP(10.41.200.21) to FTP(10.41.101.25) using python?

[python]import ftplib
import os

filename = "image.tif"

f..... More

Print this item

  please help me convert this formula via the math module
Posted by: tinx_ss - Apr-09-2024, 08:53 PM - Forum: Homework - Replies (4)

the formula is in the pic and i tried typing it:
b=5√(K*∛(0,01)+(1-e^x)^2 )
thank you!


Attached Files

Thumbnail(s)
   
Print this item

  element in list detection problem
Posted by: jacksfrustration - Apr-09-2024, 08:15 PM - Forum: General Coding Help - Replies (5)

I am trying to make a UK grading system. The console based app will take name and grade as inputs, save it into a list of dictionaries, convert that l..... More

Print this item

  Unable to connectDjango to mysql server
Posted by: sureshpython - Apr-09-2024, 07:30 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello All,
I have an error while connecting django to mysql server.
can any one help me with this?
it shows following error.

[output]PS C:\Users..... More


Attached Files

Thumbnail(s)
       
Print this item

  for loop not executing
Posted by: Abendrot47 - Apr-09-2024, 06:18 PM - Forum: General Coding Help - Replies (2)

The two early print statements print but the print statements inside the for loop not. Please advise how to correct my code so the for loop works

..... More

Print this item

  [solved] a 4-digit display
Posted by: vr34 - Apr-09-2024, 04:06 PM - Forum: General Coding Help - Replies (2)

Hello,

I would like to reproduce a 4-digit display with floating point from 0.001 to 9999.
All the digits must be lit (no free space on the left o..... More

Print this item

  Copy from FTP(12.50.100.21) to FTP(12.45.222.25)
Posted by: anna17 - Apr-09-2024, 01:43 PM - Forum: General Coding Help - No Replies

Hello

It is definitely From FTP To FTP.

Copy from FTP(12.50.100.21) to FTP(12.45.222.25)

I need sample code.

Please give me a site with sa..... More

Print this item

  C:\Users\abc\Downloads\1712658676277.png
Posted by: anna17 - Apr-09-2024, 01:43 PM - Forum: General Coding Help - No Replies

Hello

It is definitely From FTP To FTP.

Copy from FTP(12.50.100.21) to FTP(12.45.222.25)

I need sample code.

Please give me a site with sa..... More


Attached Files

Thumbnail(s)
   
Print this item

  help with scrolling text on RGB Matrix
Posted by: Foutsy - Apr-09-2024, 01:48 AM - Forum: General Coding Help - Replies (3)

I am able to scroll text using Runtext.py but would like to have the text that is displayed, get it from a separate document. This would make it simpl..... More

Print this item

  Process Mining: OCEL creation from CSV with PM4PY
Posted by: kldgee - Apr-08-2024, 10:29 PM - Forum: Data Science - No Replies

Hi,
I am currently trying to create an object-centric event log from a csv-file, which I am using the PM4PY library to. This is the function I create..... More

Print this item

  Next/Prev file without loading all filenames
Posted by: WilliamKappler - Apr-08-2024, 02:44 AM - Forum: General Coding Help - Replies (9)

I'm writing an image viewer and need a way to get the next/previous image in a folder. I've cobbled together an approach based on various searches of ..... More

Print this item

  The *Best Python Cheat Sheet
Posted by: kmh - Apr-07-2024, 04:26 AM - Forum: Tutorial Requests and Submissions - No Replies

The *Best Python Cheat Sheet

A dense Python cheat sheet with just what you nee..... More

Print this item

  How to accept facebook cookies using python selenium?
Posted by: pablo86ad - Apr-06-2024, 09:19 PM - Forum: General Coding Help - No Replies

I have a problem clicking the facebook accept cookies button.
Thank you for your help

[python]from selenium import webdriver
from selenium.webdri..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Select Python comment (#)... 1 hour ago SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 8 hours ago 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... 575586
  Tutorial Requ... 496638
  Web Scraping ... 439657
  Newbie with P... 383281
  New Users Int... 364434
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