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,490
» Latest member: Kiongi
» Forum threads: 38,579
» Forum posts: 174,817

Full Statistics

Online Users
There are currently 735 online users.
» 0 Member(s) | 727 Guest(s)
Bing, Yandex, Google, Twitter, AOL

Latest Threads
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
4 hours ago
» Replies: 8
» Views: 21,103
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
6 hours ago
» Replies: 3
» Views: 560
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
Yesterday, 12:26 PM
» Replies: 13
» Views: 28,767
problems with netcdf if I...
Forum: General Coding Help
Last Post: vytlacfoto
Yesterday, 05:31 AM
» Replies: 17
» Views: 1,461
How to attach images to a...
Forum: Board
Last Post: sethmike9
May-19-2025, 04:08 AM
» Replies: 6
» Views: 8,907
How To Attach data Files
Forum: Board
Last Post: sethmike9
May-19-2025, 04:05 AM
» Replies: 3
» Views: 4,166
Text frame
Forum: Homework
Last Post: Pedroski55
May-18-2025, 07:39 PM
» Replies: 2
» Views: 419
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
May-18-2025, 06:28 PM
» Replies: 0
» Views: 213
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 323
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 259

 
  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: 191)
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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Error on import: SyntaxEr... 4 hours ago kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 6 hours ago Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... Yesterday, 12:26 JohnJSal hanmen9527 General Codin...
  problems with netcdf if I... Yesterday, 05:31 Blaubart vytlacfoto General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
  How To Attach data Files 05-19, 04:05 Talch sethmike9 Board
  Text frame 05-18, 19:39 dnabtuh Pedroski55 Homework
  Python automation: Sendin... 05-18, 18:28 olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
Most views
  The best Prog... 566431
  Tutorial Requ... 461115
  Web Scraping ... 431382
  Newbie with P... 368540
  Thread remain... 340684
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12051
buran 8170
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kiongi Today
daddatyagi Today
Luis_Rivera Yesterday
hanmen9527 Yesterday
zacharystone Yesterday

User Panel Messages

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