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,468
» Latest member: Shailesh
» Forum threads: 38,577
» Forum posts: 174,806

Full Statistics

Online Users
There are currently 813 online users.
» 1 Member(s) | 809 Guest(s)
Google, Yandex, Bing, buran

Latest Threads
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
3 hours ago
» Replies: 4
» Views: 1,263
Return a string or byte o...
Forum: General Coding Help
Last Post: Anita2309966
4 hours ago
» Replies: 6
» Views: 262
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
10 hours ago
» Replies: 0
» Views: 53
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
Yesterday, 04:02 PM
» Replies: 16
» Views: 1,081
class Blockage not projec...
Forum: General Coding Help
Last Post: Azdaghost
Yesterday, 01:09 PM
» Replies: 0
» Views: 79
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
Yesterday, 09:04 AM
» Replies: 1
» Views: 341
Pip help
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 05:57 AM
» Replies: 4
» Views: 365
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
Yesterday, 01:12 AM
» Replies: 2
» Views: 962
Library Management System
Forum: Homework
Last Post: deanhystad
May-13-2025, 01:56 AM
» Replies: 1
» Views: 192
smbus.SMBus i2c code whic...
Forum: General Coding Help
Last Post: NewbyTyro
May-12-2025, 03:51 PM
» Replies: 2
» Views: 301

 
  Search data in treeview without search button
Posted by: TomasSanchexx - Aug-11-2023, 12:38 PM - Forum: GUI - Replies (3)

Hello,
I'm trying to make an item search engine in a treeview, if I do it with a button, it works for me.
But I want to do the search without a butt..... More

Print this item

  Python Struct Question, decimal 10, \n and \x0a.
Posted by: 3python - Aug-11-2023, 06:38 AM - Forum: General Coding Help - Replies (2)

Can someone explain why the decimal value 10, when in Python Struct is showing as \n, and not \x0a?

[code]
import struct

marDept5 = st..... More

Print this item

  Open-source codes and concept ideas.
Posted by: sourceduty - Aug-11-2023, 02:11 AM - Forum: News and Discussions - No Replies

Link removed

Print this item

  python sqlite autoincrement in primary column
Posted by: janeik - Aug-10-2023, 06:44 PM - Forum: General Coding Help - Replies (6)

hello.
I try to get autoincrement on column markID without success.
I dont want the keyword version of autoincrement.
What am I doing wrong in code..... More

Print this item

  KeyError and TypeError
Posted by: deneme2 - Aug-10-2023, 03:42 PM - Forum: General Coding Help - Replies (2)

Hello Friends,

When I use this one

        if "Corners." in matches["matchInfosFull"]:
            continue
it gives this error..... More

Print this item

  Error verify data in database
Posted by: TomasSanchexx - Aug-10-2023, 01:22 AM - Forum: GUI - Replies (2)

Hello good,

I have a problem verifying a login. For example, I have 3 records in the database and only 1 user and password are valid, the other two..... More

Print this item

  dictionary insertion order
Posted by: Skaperen - Aug-09-2023, 06:26 PM - Forum: News and Discussions - Replies (2)

if two dictionaries have exactly the same key and value pairs but also have a different insertion order as shown by this little test code:
[python]
..... More

Print this item

  program needs this plugins
Posted by: robertkwild - Aug-09-2023, 03:54 PM - Forum: General Coding Help - Replies (1)

hi all,

trying to start a program via python but i think it cant start as im getting this error

This plugin does not support createPlatformOpenG..... More

Print this item

  logging: change log file permission with RotatingFileHandler
Posted by: erg - Aug-09-2023, 01:24 PM - Forum: General Coding Help - No Replies

What I'd like is to be able to change default log file permissions for logs created with python logging module and RotatingFileHandler.
I don't see a..... More

Print this item

  Hard disk structure like a file selection dialog
Posted by: malonn - Aug-09-2023, 12:15 PM - Forum: General Coding Help - Replies (2)

I eventually want to build a tree of a drive contents structure just like a file/folder selection dialog (PyQt). I was thinking of building some sort..... More

Print this item

Question How create programmatically variables ?
Posted by: SpongeB0B - Aug-09-2023, 04:11 AM - Forum: General Coding Help - Replies (6)

Hi everyone,

I would like to create programmatically / automatically some variable inside a function...

I've dig the WWW but I found only very o..... More

Print this item

  Need some guidance on a script to ping a list of ip's
Posted by: cubangt - Aug-09-2023, 01:41 AM - Forum: General Coding Help - Replies (11)

Im trying to tweak this logic a bit to return some additional information or even look at threading it so it runs a little faster.
I have a list of 3..... More

Print this item

  Help running a loop inside a tkinter frame
Posted by: Konstantin23 - Aug-08-2023, 07:19 PM - Forum: GUI - Replies (3)

I have this password manager gui app made in tkinter, which consists of a frame stack corresponding to their respective frame classes to switch betwee..... More

Print this item

  Thought of the day
Posted by: Gribouillis - Aug-08-2023, 07:01 PM - Forum: Bar - Replies (1)

Here is my inspired thought of the day, for you to meditate

Quote:The opposite of SERIALIZATION is PARSING, and vice-versa
..... More

Print this item

  Trying to find the next prime number
Posted by: FirstBornAlbratross - Aug-08-2023, 06:20 PM - Forum: Homework - Replies (8)

Hi all,

My exercise for today (not for school) is for the user to enter a number and then I have to find the next prime number and print it.

Th..... More

Print this item

Question Using SQLAlchemy, prevent SQLite3 table update by multiple program instances
Posted by: Calab - Aug-08-2023, 02:36 PM - Forum: General Coding Help - Replies (2)

I have a python program that is using SQLAlchemy to work with an SQLite3 database.

One function I have will read a counter from a table from a spec..... More

Print this item

  Empty default value for tkCalender
Posted by: Tyrel - Aug-08-2023, 11:00 AM - Forum: GUI - Replies (2)

Good day how do you make TkCalendar DatePicker start with an empty default value.

Print this item

  Python Class help
Posted by: the_jl_zone - Aug-07-2023, 11:43 PM - Forum: General Coding Help - Replies (3)

I'm trying to learn how to make Python classes by following along with a tutorial video. One of the examples goes like this:

[Python]
import bpy
..... More

Print this item

  Selenium press "select option" button (SOLVED)
Posted by: kucingkembar - Aug-07-2023, 08:03 PM - Forum: Web Scraping & Web Development - No Replies

sorry for my bad english,
i tried this since yesterday,
i tried to press a button that turn out that button is "select option",
i dont know how, bu..... More

Print this item

  Send Error when attaching files
Posted by: JamesAinsworth - Aug-07-2023, 06:11 PM - Forum: General Coding Help - Replies (1)

I’m encountering a sending error when trying to attach one or more files to an email using Python 3.

The script works perfectly with embedded image..... More

Print this item

  Advice for installing python app from github ?
Posted by: Adi44 - Aug-07-2023, 04:47 PM - Forum: General Coding Help - Replies (6)

Good Evening,

I am just starting out with python (3.11) and i wanted to download an app from github ( a python photo album ). The author has kindl..... More

Print this item

  aoigram, pil Help with photo processing
Posted by: kolpac21 - Aug-07-2023, 04:39 PM - Forum: General Coding Help - No Replies

(python and libraries are all last) When sending a photo, it gives an error in the bot, but there is nothing in the terminal


[python]
from datet..... More

Print this item

  ModuleNotFoundError: No module named 'PyPDF2'
Posted by: Benitta2525 - Aug-07-2023, 04:22 AM - Forum: General Coding Help - Replies (1)

I am getting an IndexError, and not sure why? My goal is to when i login submitted success then take the next py file .

from PyPDF2 import PdfRea..... More

Print this item

  convert numbers to words
Posted by: Skaperen - Aug-06-2023, 11:27 PM - Forum: News and Discussions - Replies (3)

i want to convert numbers into words. i wrote code in C to do this a couple decades ago. i have also converted it to Pike many years ago. i have al..... More

Print this item

  Dispatcher pattern
Posted by: Gribouillis - Aug-06-2023, 07:53 PM - Forum: Code sharing - Replies (1)

I came across an interesting blog post (in french) about how to i..... More

Print this item

  Function parameter not writing to variable
Posted by: Karp - Aug-06-2023, 07:38 PM - Forum: General Coding Help - Replies (5)

Hi,

I just started learning python and have run into a problem with writing a function recombining a list of separated characters into a string. Wh..... More

Print this item

  Help with flowchart maker program
Posted by: bluebouncyball - Aug-06-2023, 06:45 PM - Forum: General Coding Help - Replies (2)

Hello! I am currently a pretty fresh coder in Python and general programming and have been trying to create a Flowchart Maker. The only import I have ..... More

Print this item

  How can I design shapes on a curve in python?
Posted by: mervea - Aug-06-2023, 04:15 PM - Forum: General Coding Help - Replies (2)

I have coordinates of an airfoil curve. But I want to design semi-circular shapes that have equal distance of center on this curve's upper line.
I p..... More

Print this item

  Trying to make a password generator
Posted by: Jankofcik - Aug-06-2023, 12:14 PM - Forum: General Coding Help - Replies (1)

I'm trying to make a password generator that restarts if you're not satisfied with your password. The generator itself works perfectly, but when I try..... More

Print this item

  Trying to understand strings and lists of strings
Posted by: Konstantin23 - Aug-06-2023, 10:04 AM - Forum: General Coding Help - Replies (2)

Lets say we have a string a = "apple" and we wish to add this variable in a list fruits = [], using [inline]fruits.a..... More

Print this item

  can not import anaconda pandas module. PySpark pandas module is imported!!
Posted by: aupres - Aug-06-2023, 01:09 AM - Forum: General Coding Help - No Replies

My visual Studio Code is integrated with apache spark module. So pyspark module is imported with python codes. But I try to import anaconda pandas and..... More

Print this item

Exclamation Error when closing the main window with destroy
Posted by: TomasSanchexx - Aug-06-2023, 12:25 AM - Forum: GUI - Replies (1)

Hi, I have a problem. I'm trying to close the main window when logging in, with destroy(), but it throws me an error, why? what am I doing wrong? How ..... More

Print this item

  return next item each time a function is executed
Posted by: User3000 - Aug-05-2023, 09:33 PM - Forum: General Coding Help - Replies (19)

hi everyone,

When I loop through my dictionary "job_applicants", it prints out every name at once.

However, I want one name printed each time I..... More

Print this item

  How can I access objects or widgets from one class in another class?
Posted by: Konstantin23 - Aug-05-2023, 05:28 PM - Forum: General Coding Help - Replies (3)

Here I am working with two different tkinter frame classes, in which I am trying to access the combobox widget service_list from the ..... More

Print this item

  Strange argument count error
Posted by: rowan_bradley - Aug-05-2023, 04:57 PM - Forum: General Coding Help - Replies (3)

I am trying to call a function in a library written by someone else. Here is my code:
[python]
import growattServer
import datetime
import time
f..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Trouble with Average Calc... 3 hours ago autodecay Pate General Codin...
  Return a string or byte o... 4 hours ago Calab Anita2309966 General Codin...
  tracking version during r... 10 hours ago Skaperen Skaperen News and Disc...
  problems with netcdf if I... Yesterday, 16:02 Blaubart Blaubart General Codin...
  class Blockage not projec... Yesterday, 13:09 Azdaghost Azdaghost General Codin...
  Retired and Learning Pyth... Yesterday, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help Yesterday, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... Yesterday, 01:12 Wehaveall armorerratic General Codin...
  Library Management System 05-13, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
  Why are the PythonT symli... 05-12, 08:10 gernophil gernophil News and Disc...
Most views
  The best Prog... 563615
  Tutorial Requ... 449028
  Web Scraping ... 428617
  Newbie with P... 362888
  Thread remain... 335430
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 7325
deanhystad 6826
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Shailesh Today
jackdennis272 Today
Anita2309966 Today
JeanChristophe Yesterday
EZEKIELGRAPHICSMEDIA Yesterday

User Panel Messages

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