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,530
» Latest member: AlexanderJack
» Forum threads: 38,661
» Forum posts: 175,192

Full Statistics

Online Users
There are currently 388 online users.
» 0 Member(s) | 383 Guest(s)
Bing, Baidu, AOL, Google, Yandex

Latest Threads
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
17 minutes ago
» Replies: 5
» Views: 579
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
3 hours ago
» Replies: 3
» Views: 112
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
5 hours ago
» Replies: 1
» Views: 81
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:23 AM
» Replies: 7
» Views: 452
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 246
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 241
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 3,996
Custom Sorting List of Di...
Forum: Homework
Last Post: Larz60+
Jul-11-2025, 03:34 PM
» Replies: 1
» Views: 154
Coding Standards
Forum: General Coding Help
Last Post: snippsat
Jul-11-2025, 01:12 PM
» Replies: 2
» Views: 230
Make code run faster: poi...
Forum: General Coding Help
Last Post: FrankBuckland
Jul-11-2025, 07:24 AM
» Replies: 3
» Views: 771

 
  Separating Names & Counting
Posted by: Steven5055 - Nov-03-2022, 05:43 AM - Forum: Homework - Replies (7)

Hi,
I'm doing a Uni course & I'm a bit stuck & would appreciate some help please.

I have a column in a data frame that contains data as per below ..... More

Print this item

  Ver 3.11 installed but not in path
Posted by: omar - Nov-02-2022, 08:48 PM - Forum: General Coding Help - Replies (3)

I installed node.js. This asked me to install chocolaty (I think that's what it's called). This in turn decided to install Python 3.11.

I looked in..... More

Print this item

  Debugger
Posted by: azizrasul - Nov-02-2022, 08:04 PM - Forum: General Coding Help - Replies (6)

I am using PyCharm to run my Python code.

When I place a breakpoint on a line, the whole code runs through to the end? What can I be doing wrong. ..... More

Print this item

  QLineEdit Caret (Text Cursor) Transparency
Posted by: malonn - Nov-02-2022, 07:02 PM - Forum: GUI - Replies (5)

I noticed that if I set the background color of a QLineEdit, the caret (text cursor) becomes invisible. Setting the foreground color..... More

Print this item

  python extract
Posted by: mg24 - Nov-02-2022, 01:37 PM - Forum: General Coding Help - Replies (1)

Hi Team,

I am calling a stored procedure , and it is giving me output of 20 columns and 16 records below it.
result = cursor.fetchall()

my requ..... More

Print this item

  loop, graph
Posted by: master_graf - Nov-02-2022, 01:28 PM - Forum: General Coding Help - No Replies

Hi, everyone
I have list with data for graph (image below) like this [['1.9078244', '0.49999094'], ...] where the first argument is x, and the secon..... More


Attached Files

.txt   alpha.txt (Size: 190.91 KB / Downloads: 200)
Print this item

  Define Variable
Posted by: xinyulon - Nov-02-2022, 12:32 PM - Forum: General Coding Help - Replies (5)

Hi,

I have been wondering for long that what's is the difference between the two definitions of "Tax =0"? One is "tax = 0" defined at the foremost; ..... More

Print this item

  For Loop
Posted by: siddharth - Nov-02-2022, 08:33 AM - Forum: News and Discussions - Replies (1)

Hi,

I have a for loop program for which want result.

Program:
[python]
prices = [10,20,30]
total = 0
for price in prices:
total += pric..... More


Attached Files

Thumbnail(s)
   
Print this item

  how to merge 2 handlers pyTelegramBotApi
Posted by: lolita7777 - Nov-02-2022, 06:19 AM - Forum: General Coding Help - Replies (2)

Please write how to run these 2 functions depending on message.text. For example, if message.text== from 1 to 10 and the letter “v” then let the 1-fun..... More

Print this item

Question Algorithmic problem
Posted by: Mhd45 - Nov-02-2022, 06:05 AM - Forum: Homework - Replies (3)

John and Alex like to watch cars passing by on the street. When the car drives past, both boys write down the types of cars in their notebooks. John i..... More

Print this item

  python insert blank line in logger
Posted by: mg24 - Nov-02-2022, 04:56 AM - Forum: General Coding Help - Replies (1)

Hi Team,

I am using below code , to generate logger.
code is working,

need help how to add\insert a blank line.in logger


[python]
import ..... More

Print this item

Question Triying to store values from models
Posted by: Larry1888 - Nov-01-2022, 09:37 PM - Forum: General Coding Help - Replies (1)

Hi all!

Im writing a ini file based on a excel file readed with pandas and the columns writted in the file gonna be different depending on [u]client ..... More


Attached Files

Thumbnail(s)
       
Print this item

  Hierarchical logging in Python
Posted by: etuzon - Nov-01-2022, 05:44 PM - Forum: Code sharing - No Replies

[align=left]
The most used logging these days is logging that prints the logs a row under a row.
There are flows that will be hard to debug by kind ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Help with university work - reading and writing files
Posted by: MrKnd94 - Nov-01-2022, 04:27 PM - Forum: Homework - Replies (5)

Hello,

Me and a lot of my classmates are so confused in today's work.

The answer sheet was published, but that didn't help us at all.

Here'..... More

Print this item

  Need help choosing threading method
Posted by: Oolongtea - Nov-01-2022, 01:07 PM - Forum: GUI - Replies (5)

I'm coding a pyqt5 interface to exchange data with an arduino through serial communication.

Basically, the program sends a command, the arduino make..... More

Print this item

  Cant access variable from anywhere
Posted by: Frankduc - Nov-01-2022, 12:51 PM - Forum: General Coding Help - Replies (33)

Hello,

I think i am not asking the right question. I want to be able to acces the variable Z at the end of the script from the beginning.
Here's a..... More

Print this item

  python Checksum No
Posted by: mg24 - Nov-01-2022, 12:00 PM - Forum: General Coding Help - Replies (4)

Hi team

I am creating a checksum. using below code.
Code is working, My csv is 15gb.

hence I am reading data in chunk.
data = f.read(10240)..... More

Print this item

  extract last word from path.
Posted by: mg24 - Nov-01-2022, 09:13 AM - Forum: General Coding Help - Replies (4)

Hi Team,

how to get last word from path.
split and get last folder name.

path = "D:\Python\sample_folder\data"

Expected output ---> Data

..... More

Print this item

  What about Python 3.11 performance boost
Posted by: wavic - Nov-01-2022, 07:54 AM - Forum: News and Discussions - Replies (2)

Has anyone tested 3.11's widely announced performance boost?

I am eager to try it but my Arch still offers me 3.10.8-2

Print this item

  Fetching the port number using asyncio
Posted by: gary - Nov-01-2022, 02:53 AM - Forum: General Coding Help - No Replies

Below is the code for multisocket server interacting with client. Port Numbers are pre-assigned as 1000 to 4000 for clients
In the client thread func..... More

Print this item

  Initializing a Serializer in init and passing data later
Posted by: wolfman5874 - Nov-01-2022, 01:06 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all I'm building a Forum/Subforum application in django where the Forum and Subforum both have their own models and their threads have their own mo..... More

Print this item

  Problem with importing python-telegram library into the project
Posted by: gandonio - Oct-31-2022, 10:34 PM - Forum: General Coding Help - Replies (1)

Hello. I'm having trouble importing the python-telegram library into my project. I installed it with the command pip install python-telegram, and the ..... More

Print this item

  line by line debugging in PyCharm Community
Posted by: astral_travel - Oct-31-2022, 04:18 PM - Forum: General Coding Help - Replies (2)

i was wondering (and been recommended by deanhystad) - is there a way to simulate the code process line by line in PyCharm ?

similar to what can be..... More

Print this item

  reading content between a specific xml tag
Posted by: saisankalpj - Oct-31-2022, 12:38 PM - Forum: General Coding Help - Replies (1)

I have a spml file as below:

[python]<?xml version="1.0" encoding="UTF-8"?>
<spml:batchresponse designation="software developers">

<response>



<po..... More

Print this item

  Assistance with a PHP-based project
Posted by: GenTorossi - Oct-31-2022, 07:55 AM - Forum: News and Discussions - Replies (3)

Hi, community
I'm about to start a Python-based project and need a team to assist me with a set of tasks. Does anyone know a reliable web development..... More

Print this item

  python multiprocessing to download sql table
Posted by: mg24 - Oct-31-2022, 03:28 AM - Forum: General Coding Help - Replies (5)

Hi Team,

is it possible to use multiprocessing in below scenario.
downloading sql table into csv files.
to speed up downloading.


[Python]

Import ..... More

Print this item

  Potentiostat/Galvanostat potential issue
Posted by: pepe523869 - Oct-31-2022, 02:45 AM - Forum: General Coding Help - Replies (10)

Good Morning,

I made a potentiostat based on article from https://ww[url=https://python-forum.io/thread-38572.html]..... More

Print this item

Shocked Manual Splines?
Posted by: Power_Broker - Oct-31-2022, 02:19 AM - Forum: General Coding Help - Replies (4)

I'm looking to manually create a 1D curve using splines.

I've tried using SciPy's implementation of spline interpolation, but it's not what I want...... More

Print this item

  a generator and threads
Posted by: Skaperen - Oct-31-2022, 01:25 AM - Forum: News and Discussions - Replies (4)

if a generator spawns a thread, what happens? can 2 or more threads do yields in the same generator? what if 2 or more threads try to iterate the sa..... More

Print this item

  i want to use type= as a function/method keyword argument
Posted by: Skaperen - Oct-31-2022, 12:53 AM - Forum: General Coding Help - Replies (9)

i want to use type= as a function/method keyword argument:

result = that_function(buffer1,buffer2,limit=4096,type=bytes)
can i ..... More

Print this item

  Looping a question until correct feedback is given
Posted by: TylerTrunzo - Oct-30-2022, 09:27 PM - Forum: General Coding Help - Replies (9)

I'm writing my first python program as a number guessing game. I am trying to loop a question until a 'yes' or 'no' response is given but am having tr..... More


Attached Files

Thumbnail(s)
           
Print this item

  can't install python
Posted by: polar - Oct-30-2022, 04:39 PM - Forum: General Coding Help - Replies (3)

i have tried reinstall windows, install a different version of python and doesn't works.

it only show this error 0x80070643

this is the log

[..... More

Print this item

  sending byte in code?
Posted by: korenron - Oct-30-2022, 08:56 AM - Forum: General Coding Help - Replies (2)

Hello,
I'm working on some BLE code that need to send 01 \ 00 in order to turn on a remote LED.

this is the command I'm using
[python] await cl..... More

Print this item

  Shop Revisted
Posted by: menator01 - Oct-29-2022, 08:03 PM - Forum: Code sharing - No Replies

Buy/add/delete items. May still have a bug or two.

[python]
from tabulate import tabulate
from os import system, name
from time import sleep

..... More

Print this item

  My pygame screen size
Posted by: Yegor123 - Oct-29-2022, 07:14 PM - Forum: General Coding Help - Replies (2)

Im making a tile game on pygame and I can only see half my player ive tried just about everything ive changed the world data list and gone through tut..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  RemoTe server operation w... 17 minutes ago mario17 mario17 General Codin...
  Qt Event Filtering 3 hours ago deanhystad deanhystad GUI
  processing nested json da... 5 hours ago Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt Yesterday, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Custom Sorting List of Di... 07-11, 15:34 aryasinner Larz60+ Homework
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
  Make code run faster: poi... 07-11, 07:24 Bennygib FrankBuckland General Codin...
  Cleaning my code to make ... 07-11, 07:20 BSDevo FrankBuckland General Codin...
Most views
  The best Prog... 572684
  Tutorial Requ... 485700
  Web Scraping ... 437136
  Newbie with P... 380064
  Thread remain... 351369
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+ 12073
buran 8174
snippsat 7351
deanhystad 6855
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
AlexanderJack Today
ramzi_romdhan Today
Kunalmalik126 Today
Kumo_Koloo Yesterday
tomanadoveza Yesterday

User Panel Messages

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