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,389
» Latest member: atalieyandext4063
» Forum threads: 38,821
» Forum posts: 176,018

Full Statistics

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

Latest Threads
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 1
» Views: 41
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
6 hours ago
» Replies: 9
» Views: 223
IP address for users
Forum: Networking
Last Post: itx_sumeet
Today, 05:53 AM
» Replies: 4
» Views: 7,061
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Today, 01:10 AM
» Replies: 5
» Views: 9,886
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 136
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 79
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 142
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,294
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 104
Exploring Different Pytho...
Forum: News and Discussions
Last Post: ankitsharma32
Dec-23-2025, 01:01 PM
» Replies: 3
» Views: 754

 
  Make console show after script was built with Pyinstaller --NOCONSOLE?
Posted by: H84Gabor - May-05-2022, 12:32 PM - Forum: General Coding Help - No Replies

Hi,

I'd be looking for a way to make the console appear after I build the script with pyinstaller using --NOCONSOLE. In most cases I do not need th..... More

Print this item

  Python Anytree - Is not of type 'NodeMixin' error
Posted by: georgebijum - May-05-2022, 09:46 AM - Forum: General Coding Help - Replies (3)

I am trying to build a Hierarchy from the below csv data:

Child,Parent,IsActive
11074165,11018432,NO
11094122,11033371,NO
11020499,11018277,NO
..... More

Print this item

  ModuleNotFoundError: No module named '_struct' when starting pip3
Posted by: yuhuihu - May-05-2022, 04:41 AM - Forum: General Coding Help - No Replies

My OS environment is openSUSE Tumbleweed.

I cloned the latest Python code from git.
[code]
git clone -b main --single-branch git@github.com:pyt..... More

Print this item

  how to populate a dataframe thru line iteration ?
Posted by: knob - May-05-2022, 12:48 AM - Forum: General Coding Help - No Replies

Good afternoon !
I need some help to approach this problem using python.
I'm currently processing a big text file, line by line.
During this itera..... More

Print this item

  NameError: name 'hash_value_x_t' is not defined
Posted by: Anldra12 - May-05-2022, 12:40 AM - Forum: General Coding Help - Replies (5)

Why happen the name hash_value_x_t not define
[python]def setup():
global hash_value_x_t
"""
Generates public key and master secr..... More

Print this item

  Why is copying and pasting a block now broken?
Posted by: WagmoreBarkless - May-04-2022, 11:36 PM - Forum: General Coding Help - Replies (2)

This is trivial, but... Wall

Henceforth, if I had a block of code:

code line 1
code line 2
code line 3
code line 4
..... More

Print this item

  Why is copying and pasting a block now broken?
Posted by: WagmoreBarkless - May-04-2022, 11:36 PM - Forum: General Coding Help - Replies (1)

This is trivial, but... Wall

Henceforth, if I had a block of code:

code line 1
code line 2
code line 3
code line 4
..... More

Print this item

  How to remove extra space from output list?
Posted by: longmen - May-04-2022, 09:04 PM - Forum: Homework - Replies (3)

Hi,

I have this input

P (0, 2,+1) (2, 0, -1) (0, 4,+1) (4, 0, -1)
and I would like to have it printed out this way [python][(0, 2..... More

Print this item

Lightbulb Code is Working As-Is, Looking for Pointers to Improve
Posted by: ki5nyz - May-04-2022, 08:40 PM - Forum: Code Review - Replies (4)

Raspbian10 (Buster) (Pi-Star image 4.1.6)
Python 2.7.16
My script is working properly, other than I still need to figure out how to set the callsign..... More

Print this item

  TypeError: 'dict_items' object does not support indexingw
Posted by: Skaperen - May-04-2022, 04:42 PM - Forum: News and Discussions - Replies (3)

why does 'dict_items' not support indexing? this is the object type you get from dict.items(). shouldn't it interface like a tuple?

Print this item

  Alarm system with state, class, enum.
Posted by: Frankduc - May-04-2022, 01:26 PM - Forum: General Coding Help - No Replies

Hello,

I have this assigment to do. An interface for an alarm system. I came up with this code at first.

[python]from time import sleep
import..... More

Print this item

  Json Parsing
Posted by: sshree43 - May-04-2022, 12:26 PM - Forum: General Coding Help - Replies (5)

Hi Expert,

i wanted to extract below objects from json file, (valueObject,valueString)

[python]"analyzeResult": {

"documentResults": [
..... More

Print this item

  Python Sqlite
Posted by: georgebijum - May-04-2022, 10:12 AM - Forum: General Coding Help - No Replies

Hi ,

I am using the sqlite3 package in python. I push data to Sqlite table using to_sql function and is then querying data from multiple tables as..... More

Print this item

  canvas size
Posted by: DPaul - May-04-2022, 07:23 AM - Forum: GUI - Replies (2)

Hi,
I have an app with a large canvas, showing images.
The canvas is configured:
[python]tifCanvas = Canvas(root, width = 1200, height = 950, relie..... More

Print this item

Question Can you put encoded strings into .txt files?
Posted by: Alivegamer - May-04-2022, 12:50 AM - Forum: General Coding Help - No Replies

I have been trying to encode a text and then put it into a txt file but it doesn't show correctly.
When it's in the variable : b'\xff\xfe\x00\x00b\x0..... More

Print this item

  Quick question/help regarding my variable
Posted by: Extra - May-04-2022, 12:41 AM - Forum: General Coding Help - Replies (5)

Hello,

My sellPrice variable won't work because it's taking price as a string and trying to multiply it to a number.

[error]
File "ListTest.py",..... More

Print this item

  If/elif help
Posted by: stupidanlearning - May-03-2022, 10:58 PM - Forum: General Coding Help - Replies (5)

Hello all! So I am starting to mess around with python, it's the first language I am learning, I am also learning independently.

I decided to try ..... More

Print this item

  validate the existing value and change the series
Posted by: datahub - May-03-2022, 08:00 PM - Forum: Data Science - No Replies

Hello Everyone.

I am new to the Python and this Forum. I have the requirement to generate the new set of dataset

Source Dataset

ID ..... More

Print this item

  can anyone train me to get a python job?
Posted by: MetsxxFan01 - May-03-2022, 07:21 PM - Forum: Jobs - No Replies

i'm a beginner when it comes to learning python. maybe you could train me through video chat. and maybe the job could be remote or work from home

Print this item

  inset countdown in panel
Posted by: Frankduc - May-03-2022, 06:26 PM - Forum: Game Development - Replies (6)

i am trying to create a countdown clock below the numbers.
I am king of stuck to how insert the timer in my actual panel without creating a new panel...... More

Print this item

  How to keep columns header on excel without change after export data to excel file?
Posted by: ahmedbarbary - May-03-2022, 05:46 PM - Forum: General Coding Help - No Replies

I work on sql server 2017 I run script depend on python language v 3.10 .

I need to export data to excel fileStudentExport.xlsx already exist and k..... More

Print this item

  how to mouse click a specific item in pygame?
Posted by: Frankduc - May-03-2022, 02:24 PM - Forum: General Coding Help - Replies (5)

hello,

I want to mouse click a specific item.
When you click Activé which is button_A this line appear: img = font.render("Veuillez entrer votre c..... More

Print this item

  Windows install does not create .exe, shortcut,etc to open
Posted by: hammer - May-03-2022, 12:56 PM - Forum: General Coding Help - Replies (4)

I used pynsist in linux to create an installer for windows of my python app.-no errors/warnings
When I looked into the nsis file it created, there w..... More

Print this item

Question How can I import a variable from another script without executing it
Posted by: ThomasFab - May-03-2022, 08:57 AM - Forum: General Coding Help - Replies (12)

I have a little beginner issue doing imports between scripts, maybe someone can help? Blush

I wrote 2 Modules:

[b]- B01_Import_CSV_V1.py[/..... More

Print this item

  Can't write to .txt after opening websocket
Posted by: gerald - May-03-2022, 03:40 AM - Forum: General Coding Help - Replies (5)

Hi everyone,

When I write to a txt file with this code i get no errors. However after I open a websocket I get a 'type error'
The code I use is:

[py..... More

Print this item

  IndexError: list index out of range
Posted by: Anldra12 - May-03-2022, 01:32 AM - Forum: General Coding Help - Replies (2)

A common error but i don't know the reason why list index out of range
[python]def runScheme(t_str, n_str, k, q, Field):
x_subi = [0]
..... More

Print this item

  can you please help me with this python code
Posted by: MetsxxFan01 - May-02-2022, 08:07 PM - Forum: General Coding Help - Replies (5)

[python]import json

try:
with (open("log.txt")) as file:
data = json.load(file)

print("data has been successfully retrieve..... More

Print this item

  pywin32: Outlook connection ends with 'operation aborted' on one machine
Posted by: tstone - May-02-2022, 05:13 PM - Forum: General Coding Help - No Replies

Hello Python Community!

I'm trying to create an MD5 hash of email contents in order to be able to identify it by its contents afterwards.
Also, th..... More

Print this item

  Buttons not working in tabs
Posted by: kenwatts275 - May-02-2022, 02:45 PM - Forum: General Coding Help - Replies (2)

I am trying to put buttons on my tabs. The buttons appear, but when I click them, nothing happens.
It looks like the code for the buttons gets run wh..... More

Print this item

  Python + PHP. Sending data from "Moodle" (php) to python CGI-script and get it back
Posted by: stanislav - May-02-2022, 02:02 PM - Forum: Networking - No Replies

I installed Learning Managment System (LMS) 'Moodle' to XAMPP local server. And there is instrument for file downloading, called "filepicker".

I wa..... More

Print this item

  Multiprocessing: first step
Posted by: paul18fr - May-02-2022, 01:58 PM - Forum: Data Science - No Replies

All

As ever evoqued in a previous post, I'm interested in using multiprocessing to speed-up some parts of my code:

Print this item

  Python 25 Line Challenge
Posted by: codingCat - May-02-2022, 01:08 PM - Forum: Code sharing - Replies (36)

What is the most interesting, useful or fun program that you can develop in 25 lines of Python or less?

Working on developing projects for my Intro..... More

Print this item

  [solved] Basic question on list matchiing
Posted by: paul18fr - May-02-2022, 10:17 AM - Forum: General Coding Help - Replies (7)

Hi
Sorry for that basic question, but I do not understand why the answer is always "no" when using simple quote between Y: where I'm missing somethin..... More

Print this item

  why there are special characters ?
Posted by: 53535 - May-02-2022, 08:05 AM - Forum: GUI - Replies (8)

when i try to display html text in a text editor , it only display partially, a strange character \n appeared in the middle . how to resolve it ?

Print this item

  Tkinter won't run my simple function
Posted by: AthertonH - May-02-2022, 02:52 AM - Forum: GUI - Replies (6)

Hey guys, I'm trying to make a magic 8 ball interface using Tkinter. I'm fairly new to coding, and I guess you could say this is my first "personal" p..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to Integrate External... 4 hours ago finallen321 noisefloor General Codin...
  Calling python from anoth... 6 hours ago eedjsa eedjsa General Codin...
  IP address for users Today, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Today, 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
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
  We open-sourced kubesdk —... 12-21, 11:52 beslanpuzl beslanpuzl Code sharing
Most views
  The best Prog... 580355
  Tutorial Requ... 519003
  Web Scraping ... 442769
  Newbie with P... 386949
  New Users Int... 386191
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
atalieyandext4063 Today
finallen321 Today
DTECHSYSTEM Today
zashleyfracesz3221 Today
itx_sumeet Today

User Panel Messages

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