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,239
» Latest member: racingsubby
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 48 online users.
» 2 Member(s) | 37 Guest(s)
Google, Bing, Facebook, Apple, AOL, Larz60+, snippsat

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 1
» Views: 23
Data Science
Forum: Data Science
Last Post: mamta25
1 hour ago
» Replies: 3
» Views: 2,564
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
8 hours ago
» Replies: 1
» Views: 96
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 147
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 125
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 126
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,278
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,378
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,578
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 205

 
  doing string split with 2 or more split characters
Posted by: Skaperen - Aug-04-2023, 02:53 AM - Forum: General Coding Help - Replies (22)

if i have the string 'ab|cd!ef|gh!ij|kl!mn' and want to split it into ['ab','cd','ef','gh','ij','kl','mn'], is there..... More

Print this item

  AttributeError: '_tkinter.tkapp' object has no attribute 'username'
Posted by: Konstantin23 - Aug-03-2023, 08:56 PM - Forum: General Coding Help - Replies (4)

I was following up with multiple tutorials online for designing a tkinter gui app for a password manager program I made recently, and so I split up th..... More

Print this item

Sad Why it won't run?
Posted by: hansemso - Aug-03-2023, 08:30 PM - Forum: General Coding Help - Replies (6)

https://replit.com/@hansemso/arithmeticf...er#main.py

Why won't it run? I'm doing the freecodecamp Python test #1. This is somebody's sample I..... More

Print this item

  Pyserial issues with proper loops and binary
Posted by: jttolleson - Aug-03-2023, 07:59 PM - Forum: General Coding Help - Replies (16)

So i bought my python programmable Lidar Chip and havent recieved data yet because after opening it up in pyserial i have no idea how to test it...
..... More


Attached Files

Thumbnail(s)
               
Print this item

  flushing output buffers
Posted by: Skaperen - Aug-03-2023, 01:36 AM - Forum: News and Discussions - Replies (4)

output to 2 open files that are buffered may get alternating output calls. when that output finally goes to a common file destination, output is mixe..... More

Print this item

  Pip install problem with Python 3.7, not 3.9
Posted by: Mark98 - Aug-02-2023, 08:24 AM - Forum: General Coding Help - Replies (2)

Hi,

I have a Raspberry PI in OS Raspbian GNU/Linux v 10. Debian version is 10.13
Till some days ago I used Python 2.7 without problem.
I had to u..... More

Print this item

  Problem trying to install UniCurses on Python-3.12 / W10-64
Posted by: rdmaia - Aug-02-2023, 07:49 AM - Forum: General Coding Help - Replies (5)

Hi all!
Regards

I'm trying to install UniCurses on Python-3.12, under W10-64

Downloaded its pack (UniCurses-1.2.win32.exe build 10/nov/2010), b..... More

Print this item

  First piece of code
Posted by: Bearwulf - Aug-02-2023, 02:49 AM - Forum: General Coding Help - Replies (2)

Hey team,

I have worked on a piece of code that should be able to read my question on sustainability and produce me an answer with some ideas based..... More

Print this item

  Rename files in a folder named using windows explorer
Posted by: hitoxman - Aug-01-2023, 11:42 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

Many of us know we can rename multiple files with windows explorer following the steps here:

..... More

Print this item

  QListWidget, no item was selected
Posted by: flash77 - Aug-01-2023, 06:37 PM - Forum: GUI - Replies (4)

Hi,

if I have a listwidget, is it possible to detect if no item of the listwidget was selected?

I searched the web, but found nothing helpful........ More

Print this item

  Error on import: SyntaxError: source code string cannot contain null bytes
Posted by: kirkwilliams2049 - Aug-01-2023, 03:11 PM - Forum: General Coding Help - Replies (10)

I am following a Python tutorial and have created the following module(from the tutorial) in Notepad under Windows 11:

[python]def fib(n): # write..... More

Print this item

Sad How to split a String from Text Input into 40 char chunks?
Posted by: lastyle - Jul-31-2023, 06:58 PM - Forum: General Coding Help - Replies (7)

Hi all.

I Need a Solution split String a String into 40 char chunks.

The String is from a User Input and can be longer (between 1 and 290 Chars..... More

Print this item

  Python Tic Tac Toe with Functions
Posted by: jorisnl - Jul-31-2023, 04:00 PM - Forum: Code Review - Replies (2)

Hi all,

I have written a Python Tic Tac Toe game with functions for 2 players on a shared keyboard. I am interested in feedback. It works well, but..... More

Print this item

  How do you change your horizontal scrolling background to a vertical one?
Posted by: Kalebre - Jul-31-2023, 02:42 PM - Forum: Game Development - No Replies

I was making a platformer game using PyGame. After some time I decided to change the game to a vertical parkour map, but I dont know how to change it ..... More

Print this item

  Help with variable in between modules
Posted by: llxxzz - Jul-31-2023, 02:27 PM - Forum: General Coding Help - Replies (5)

Hi All,
first apologizes for my poor scripting - I am a beginner.
I have found lots of information about my doubt but none could actually solve my..... More

Print this item

  How can I rearrange df as the nodes index in pytorch geometric manner?
Posted by: uqlsmey - Jul-31-2023, 11:28 AM - Forum: General Coding Help - No Replies

How can I rearrange df as the nodes index in pytorch geometric manner?

This is my code

[python]data = {'Source': ['Rainfall', 'SP2', 'SP2', 'Inflow..... More

Print this item

  Multivariate Analysis of Ecology Data
Posted by: Will_Robertson - Jul-31-2023, 11:22 AM - Forum: Data Science - Replies (2)

I'm writing code to do statistical analysis of ecological data as part of a voluntary research project. Where the independent variables are continuous..... More

Print this item

  Database, embedded python
Posted by: janeik - Jul-31-2023, 10:45 AM - Forum: Game Development - Replies (4)

hello. To not be used regarding game, but this forum was the best I could pick.
I think I should use a db to store/search informations from my python..... More

Print this item

  FileNotFoundError: [WinError 2] The system cannot find the file specified
Posted by: NewBiee - Jul-31-2023, 08:39 AM - Forum: General Coding Help - Replies (2)

Hi,

I get this error when I run my code:

[error]File "C:\Users\Me\AppData\Local\Programs\Python\Python39\lib\multiprocessing\pool.py", line 771,..... More

Print this item

  Python Launcher INI File
Posted by: leodavinci1990 - Jul-30-2023, 02:41 PM - Forum: General Coding Help - Replies (1)

I cannot find the Python Launcher Configuration File (.INI) under C:\Windows or Under C:\Users\XXX\AppData\Local\ .
The launcher itself is found in C..... More

Print this item

  String int confused
Posted by: janeik - Jul-30-2023, 12:55 PM - Forum: General Coding Help - Replies (7)

ny help to get the proper syntax regarding zoom. (great confusion in tha family).
Anyone?[python]
lblzoomlvl = customtkinter.CTkLabel(window, width=..... More

Print this item

  GUI Problem / call another function / fill QListwidget
Posted by: flash77 - Jul-29-2023, 04:26 PM - Forum: GUI - Replies (5)

I am a hobby programmer and would like to write a program that supports, among other things, the scanning of double-sided paper with a one-sided feede..... More

Print this item

  Website Search Assistance Needed
Posted by: CaptianNewb - Jul-29-2023, 03:51 PM - Forum: General Coding Help - Replies (15)

Hi,
I decided to combine my love for good tequila and being a nerd and am trying to read the site below for a particular bottle I like that doesn't c..... More

Print this item

  trying to run mayabatch from python opencue
Posted by: robertkwild - Jul-29-2023, 09:37 AM - Forum: General Coding Help - Replies (3)

hi all,

so i have nearly got opencue to work with maya but the last hurdle is when i try to get opencue to render a maya job it fails as it cant op..... More

Print this item

  Python: Ignore\Exclude files that contain words
Posted by: Melcu54 - Jul-28-2023, 04:24 PM - Forum: Code sharing - No Replies

maybe someone needs this information

[python]def save_to_pdf(directory_path):
modified_files = []
file_count = 0
for root, di..... More

Print this item

  Replacing String Variable with a new String Name
Posted by: kevv11 - Jul-28-2023, 03:26 PM - Forum: General Coding Help - Replies (2)

Hello,

It has been a while since I have coded in C++, and I am new to python since I am currently making macros for a CFD software called STAR-CCM...... More

Print this item

  I want to be able to scroll up in curses to see previous text.
Posted by: Caiden - Jul-27-2023, 08:47 PM - Forum: General Coding Help - Replies (2)

I have some code that just prints the same thing over and over and its numbered but when I try scrolling up it doesn't work, But I wanna be able to sc..... More

Print this item

  How to code a musical slur in python tkinter?
Posted by: philipbergwerf - Jul-27-2023, 04:21 PM - Forum: General Coding Help - No Replies

Hello, not good at math haha. So I have a little app and I want to know how to create a good musical slur like in sheet music using tkinter canvas. In..... More

Print this item

  xlwings error when reading a workbook
Posted by: Mishal0488 - Jul-27-2023, 01:45 PM - Forum: General Coding Help - Replies (1)

Hi Guys

I have some code which reads reads an excel file and there after uses the data to develop stress plots of structural sections.
I literally..... More

Print this item

  Speeding up code using cache
Posted by: Peter - Jul-27-2023, 01:17 PM - Forum: General Coding Help - Replies (1)

I'm good with Python and use functions to process large datasets from files, then return the results. I've realized these input files and other parame..... More

Print this item

  error: invalid command 'egg_info'
Posted by: TimTu - Jul-27-2023, 07:30 AM - Forum: General Coding Help - No Replies

I have update pip and setuptools, but I still can't install pak from .tar.gz
[error]
❯ pip install ./qt-json-setting-0.7.tar.gz
Looking in indexes:..... More

Print this item

  Async for making requests
Posted by: DangDuong - Jul-27-2023, 04:50 AM - Forum: Web Scraping & Web Development - Replies (1)

I'm currently making an application to get definition of datapoints. There are three files involved. UniverseService.py get all the datapoints related..... More

Print this item

  Is it possible to capture live running waveforms in an oscilloscope using python?
Posted by: Girishbabu_27 - Jul-27-2023, 03:54 AM - Forum: General Coding Help - Replies (4)

I need to capture live running waveforms in an oscilloscope and store it on a PC for further analysis. I tried it using wavebin software but it captur..... More

Print this item

  building app in XCODE with python
Posted by: phantom115 - Jul-27-2023, 03:21 AM - Forum: General Coding Help - Replies (2)

Good day all,

I am trying to code in Xcode to get arm64 support for my app, I need to select the python Unix Executable File as is found in /usr/bi..... More

Print this item

  How to pass encrypted pass to pyodbc script
Posted by: tester_V - Jul-27-2023, 12:40 AM - Forum: General Coding Help - No Replies

Greetings to you all!
I'm trying to pull out some data from MS SQL DB.
I have to encrypt the user name and the pass, I found how to encrypt a text ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 1 hour ago Reema Gribouillis General Codin...
  Data Science 1 hour ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 8 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578721
  Tutorial Requ... 509382
  Web Scraping ... 441865
  Newbie with P... 385822
  New Users Int... 375278
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
racingsubby Today
Reema Today
lary_p Yesterday
Cristiano 11-08
Alfredd 11-08

User Panel Messages

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