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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

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

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
3 hours ago
» Replies: 4
» Views: 97
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 97
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 71
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 106
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,068
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,364
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,556
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 186
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,196
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,442

 
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

  API Post issue "TypeError: 'str' object is not callable"
Posted by: makeeley - Oct-29-2022, 05:20 PM - Forum: General Coding Help - Replies (2)

Hi, I am new to the forums and this is my first post.

I am new to python, more familiar with bash scripting, however I am trying to write a python..... More

Print this item

  OCR again
Posted by: DPaul - Oct-29-2022, 06:19 AM - Forum: Bar - Replies (22)

Hi,
Not a coding problem, but:
I have inherited zillions of scanned documents (prayer cards & the likes),
produced by a scanner that outputs them as t..... More

Print this item

  Flask, read H5 text value
Posted by: tantony - Oct-28-2022, 08:39 PM - Forum: Web Scraping & Web Development - Replies (4)

I'm writing a Flask grocery list app.

How would I get the text value of H5 tag? So I can delete or modify it?

Screenshot: ..... More

Print this item

  returning a List of Lists
Posted by: nafshar - Oct-28-2022, 05:36 PM - Forum: General Coding Help - Replies (3)

I am trying to return an empty list of lists from a function so that, when printed, will look like : [[""]]

But a return like the following result ..... More

Print this item

  Hover over highlighted text and open popup window
Posted by: DrakeSoft - Oct-28-2022, 11:19 AM - Forum: GUI - Replies (2)

Hi,

I am looking for an approach that might allow me to hover over a highlighted work in a QTextEdit widget and on hovering open a pop-up window to..... More

Print this item

  python gzip all files from a folder
Posted by: mg24 - Oct-28-2022, 04:16 AM - Forum: General Coding Help - Replies (3)

Hi Team,

I want to gzip all files of a folder \or complete folder. save with different name.
before deleting all files from a folder. how to achi..... More

Print this item

  python r string for variable
Posted by: mg24 - Oct-28-2022, 01:56 AM - Forum: General Coding Help - Replies (3)

Hi Team,

how to apply r(raw string) for a variable path
r"\\IND200300400.XXX.XXXX.XXX\Recon Project\output1" ---------here directly attached r it..... More

Print this item

  TkInter Realtime calculation
Posted by: marlonsmachado - Oct-28-2022, 12:35 AM - Forum: GUI - Replies (3)

Hello all,

I have a program where I receive a real-time data via TCP-IP using sockets, where I want to use one specific data to make a calculation ..... More

Print this item

  How to get cell(x,y).value = "\'=name(p)" to show correctly ??
Posted by: ozlevia - Oct-27-2022, 09:54 PM - Forum: General Coding Help - Replies (9)

Creating an excel file that is designed to be processed by another package (OpenL).
I am trying to enter into a call the string:
=name(parameter..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 3 hours ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [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
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578684
  Tutorial Requ... 509141
  Web Scraping ... 441841
  Newbie with P... 385794
  New Users Int... 375068
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 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07
EchoFlowar3Dip 11-07

User Panel Messages

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