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,564
» Latest member: OLaneled
» Forum threads: 38,666
» Forum posts: 175,215

Full Statistics

Online Users
There are currently 240 online users.
» 1 Member(s) | 233 Guest(s)
Applebot, Google, Baidu, Yandex, deanhystad

Latest Threads
StephenSep
Forum: General Coding Help
Last Post: OLaneled
24 minutes ago
» Replies: 0
» Views: 18
How scan all ips from mai...
Forum: Networking
Last Post: MaahirThomas
5 hours ago
» Replies: 2
» Views: 384
gpiozero buttons stop wor...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 7
» Views: 319
Code stoped working
Forum: News and Discussions
Last Post: Axel_Erfurt
11 hours ago
» Replies: 1
» Views: 77
Made my first Python prog...
Forum: Game Development
Last Post: Ricky1178
Jul-17-2025, 11:12 PM
» Replies: 8
» Views: 10,676
How to package code for d...
Forum: General Coding Help
Last Post: snippsat
Jul-17-2025, 11:36 AM
» Replies: 2
» Views: 190
pip3 install certifi fail...
Forum: General Coding Help
Last Post: Pedroski55
Jul-15-2025, 08:52 AM
» Replies: 1
» Views: 139
My first python game : Ti...
Forum: Game Development
Last Post: walterliz
Jul-15-2025, 07:45 AM
» Replies: 8
» Views: 55,831
A penny doubled every day...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:35 AM
» Replies: 6
» Views: 764
Exercise on reading a chu...
Forum: Homework
Last Post: walterliz
Jul-15-2025, 07:31 AM
» Replies: 3
» Views: 1,222

 
  Doubt approach update 2 Treeview at the same time
Posted by: TomasSanchexx - Aug-13-2023, 07:39 PM - Forum: GUI - Replies (7)

Hello,

I would like some guidance on a question / problem I have.

I'm doing a task that consists of an inventory system, things so far very well..... More

Print this item

  How can i combine these two functions so i only open the file once?
Posted by: cubangt - Aug-13-2023, 05:00 PM - Forum: General Coding Help - Replies (4)

So i am having to process a few different text files, for each file i process, i need too capture runtime duration, record count and timestamp

Sinc..... More

Print this item

  How to get the color name of qlistwidget?
Posted by: flash77 - Aug-13-2023, 03:25 PM - Forum: GUI - Replies (5)

Hi,

I'm trying to get the color name of the current item's foreground of a qlistwidget.

To set it I used:
[python]self.listbox_medium.insertIte..... More

Print this item

  How to fix "'dict_values' object has no attribute 'inject_wsgi'" in session_transacti
Posted by: devid - Aug-13-2023, 07:20 AM - Forum: Web Scraping & Web Development - No Replies

The problem is that when running tests on GitHub Workflow, the error AttributeError: 'dict_values' object has no attribute 'inject_wsgi' occurs and ..... More

Print this item

  Search for multiple unknown 3 (2) Byte combinations in a file.
Posted by: lastyle - Aug-12-2023, 05:56 PM - Forum: General Coding Help - Replies (7)

Hi all

I` d like to search a file for multiple unknown hex combinations in a file and have absolutely no idea how to start.

The hex combinations..... More

Print this item

  PyQt5 window closing when trying to display a graph
Posted by: bianca - Aug-12-2023, 12:29 PM - Forum: GUI - Replies (4)

I am developing a GUI Application using PyQt5.

There is a tab with charts and the idea is when clicking a button, it displays a chart.

The follo..... More

Print this item

  QStandardItemModel; columns, icons
Posted by: malonn - Aug-12-2023, 11:10 AM - Forum: GUI - Replies (3)

I am struggling to figure out something. I have a QTreeView fed by a QStandardItemModel; tree populates; multiple c..... More

Print this item

  Help - FileNotFound
Posted by: SmallGuy - Aug-12-2023, 05:58 AM - Forum: General Coding Help - Replies (6)

Hi all,

I am a new learner of python so forgive if my question is too rookie. I am using Colab to start learning. I have a csv file on my desktop f..... More


Attached Files

Thumbnail(s)
       
Print this item

  Build a DNS History
Posted by: Rudeus - Aug-11-2023, 08:59 PM - Forum: General Coding Help - Replies (2)

Hey ! Big Grin

Do you know if it's possible to build a DNS History of a domain name with Python ?

I want to made something for check the pr..... More

Print this item

  Receiving this error in my "response" and causes script to return wrong status
Posted by: cubangt - Aug-11-2023, 03:07 PM - Forum: General Coding Help - Replies (18)

I have a script which i thought was working correctly until i purposely added some invalid IP's into my list so that i can validate the results file. ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  StephenSep 24 minutes ago OLaneled OLaneled General Codin...
  How scan all ips from mai... 5 hours ago ramin_malek MaahirThomas Networking
  gpiozero buttons stop wor... 9 hours ago duckredbeard deanhystad General Codin...
  Code stoped working 11 hours ago OldMan57 Axel_Erfurt News and Disc...
  [PyGame] Made my first Py... 07-17, 23:12 andrerocha1998 Ricky1178 Game Developm...
  How to package code for d... 07-17, 11:36 mayukun snippsat General Codin...
  pip3 install certifi fail... 07-15, 08:52 rb9594 Pedroski55 General Codin...
  My first python game : Ti... 07-15, 07:45 ForsakenDusk walterliz Game Developm...
  A penny doubled every day... 07-15, 07:35 esoyboy walterliz Homework
  Exercise on reading a chu... 07-15, 07:31 Nit_Picker walterliz Homework
  While loop is terminating... 07-15, 07:29 jumpsworthnow walterliz Homework
Most views
  The best Prog... 572729
  Tutorial Requ... 485799
  Web Scraping ... 437186
  Newbie with P... 380159
  Thread remain... 351394
Most reputation
buran 581
snippsat 507
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+ 12072
buran 8174
snippsat 7353
deanhystad 6861
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
OLaneled Today
johnstevens Yesterday
MaahirThomas Yesterday
Gichardfex Yesterday
OldMan57 Yesterday

User Panel Messages

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