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,244
» Latest member: thebigback
» Forum threads: 38,778
» Forum posts: 175,804

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 42 Guest(s)
Google, Bing, AOL, Facebook Dev, Apple

Latest Threads
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
5 hours ago
» Replies: 2
» Views: 47
Backward compatibility qu...
Forum: News and Discussions
Last Post: yutaozhou
6 hours ago
» Replies: 4
» Views: 167
I’m building a Python Dat...
Forum: GUI
Last Post: Gribouillis
8 hours ago
» Replies: 6
» Views: 165
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 72
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,587
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 162
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 153
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,543
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,392
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,591

 
  How to Minimize ADB window
Posted by: OomKoos - Dec-29-2023, 12:41 PM - Forum: General Coding Help - No Replies

I know using extension pyw normally hides the Terminal window

However

I have program that uses module "pyminitouch"
This causes a ADB terminal ..... More

Print this item

  I'm looking for the syntax of a complex exponent, like: 2 ** (n - m)
Posted by: CHANCEMAN - Dec-29-2023, 10:08 AM - Forum: General Coding Help - Replies (2)

. I'm looking for the syntax of a complex exponent, like: 2 ** (n - m)
. I would like to do this:
(code 1) :
[python]p = n - m
NUMERO = (98 ** p) ..... More

Print this item

  Strange behavior of parse_qsl when parameter value is '+'
Posted by: dingning - Dec-28-2023, 09:59 AM - Forum: Web Scraping & Web Development - Replies (2)

I am seeing unexpected behavior from the parse_qsl function when the query string parameter value is just '+'.

My Python version is 3.11. I am callin..... More

Print this item

  How to check if Skype call is connected or disconnected in Python?
Posted by: boral - Dec-28-2023, 07:00 AM - Forum: General Coding Help - Replies (1)

[python]def call_number(number):
try:
print(f"Calling number: {number}")

# Generate Skype URI for the number
skype_uri = f"skype:{nu..... More

Print this item

  application design
Posted by: 67kap - Dec-27-2023, 03:36 PM - Forum: General Coding Help - No Replies

I'm developing an application for scan a Drive(I'm expecting to use PlanetScale ) and check whether is there any new files, if there any I need to aut..... More

Print this item

  Dictionary in a list
Posted by: bashage - Dec-27-2023, 01:30 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning French and Python, and I thought I'd combine the two. My goal is to make a glossary written in Python, where each word is a dictiona..... More

Print this item

  question about using setter, getter and _
Posted by: akbarza - Dec-27-2023, 01:20 PM - Forum: General Coding Help - Replies (4)

hi
in below code:

[python]# from: https://virgool.io/@GreatBahram/once-for...vwcuakw7aq
# code about getter, setter
class Person:
..... More

Print this item

  problem install somewhere package
Posted by: akbarza - Dec-27-2023, 01:08 PM - Forum: General Coding Help - Replies (1)

hi
i wanted to install somewhere package in my pc(win 10, python 3.11.5, i use idle), so
I installed it in cmd. below is what I did on cmd:..... More

Print this item

  How to run utilities from a Python package?
Posted by: LugosisGhost - Dec-27-2023, 10:53 AM - Forum: General Coding Help - Replies (1)

I have installed Python 3.9 in a VENV so that I can use the PyQT6 library (my understanding is that PyQT6 cannot be used with Python 3.12, so I used a..... More

Print this item

  Create Choices from .ods file columns
Posted by: cspower - Dec-27-2023, 05:57 AM - Forum: General Coding Help - Replies (3)

The code below works however it runs the function get_m_g() twice.
which takes you through the selection process a second time.
How do I get the re..... More

Print this item

  How to access values returned from inquirer
Posted by: cspower - Dec-26-2023, 08:31 PM - Forum: General Coding Help - Replies (6)

1. I'm using the code below and it works well.
I'm able to select my choices but I can't figure out how to access the choices so I can use the info..... More

Print this item

  problem with help(type(self)) in Idle
Posted by: akbarza - Dec-26-2023, 11:32 AM - Forum: General Coding Help - Replies (1)

hi
I use idle for Python learning.
in idle i wrote help(type) and then appeared a text that contained somethings as mro(self, / ) or __sizeof..... More

Print this item

  problem descriptors in Python
Posted by: akbarza - Dec-26-2023, 11:13 AM - Forum: General Coding Help - Replies (8)

hi
the below code is in address:
https://docs.python.org/3/howto/descriptor.html
[python..... More

Print this item

  ERROR WHILE INSTALLING PLAYSOUND MODULE
Posted by: satwants33 - Dec-26-2023, 07:39 AM - Forum: General Coding Help - Replies (2)

Hello Everyone,

I hope you all are good.

I am new to python world and facing some issue while installing play sound.Error below :

PS C:\Users..... More

Print this item

  How to fix this?
Posted by: James_S - Dec-25-2023, 08:51 PM - Forum: General Coding Help - Replies (1)

I have the following codes:

import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
import seaborn as sns
import pandas as pd
i..... More

Print this item

  Python entropy calculation
Posted by: 12miki12 - Dec-25-2023, 08:24 PM - Forum: General Coding Help - Replies (1)

With this code in Python, I calculate the entropy value of a txt file based on trigrams, but something goes wrong, because the output value is 110.519..... More

Print this item

  Help needed in finding a library for this project
Posted by: PythonEnthusiast1729 - Dec-25-2023, 06:50 AM - Forum: General Coding Help - Replies (7)

Hey everyone, I just got an idea to make a automation project but I didn't know which library it needed. The automation project involves time, which m..... More

Print this item

  How to Connect to PostgreSQL Through Jump Server and SSH Tunnel using Python?
Posted by: nishans - Dec-24-2023, 09:28 AM - Forum: General Coding Help - Replies (1)

I want to connect my remote database using python. Below are the frontend configuration for DBever. I need to know how to connect to the DB.

[attac..... More


Attached Files

Thumbnail(s)
       
Print this item

  UART & I2C slow down a loop
Posted by: trix - Dec-23-2023, 05:37 PM - Forum: General Coding Help - Replies (4)

hello,

I am working on writing a program for a stepper motor with a driver (pulse/dir).
this is done with acc and decc.

in the part with the co..... More

Print this item

  output shape problem with np.arange
Posted by: alan6690 - Dec-23-2023, 10:53 AM - Forum: General Coding Help - Replies (5)

When I generate an array using np.arange(start=0, stop= 29 * 4.42, step=4.42), the output turns out to be an array of size (30,) where it should be of..... More

Print this item

  partial functions before knowing the values
Posted by: mikisDeWitte - Dec-22-2023, 03:04 PM - Forum: General Coding Help - Replies (4)

Hello python experts!

I'm working on a function ("salary_or_name_builder" in the example) that routes my input parameters to multiple functions.
I..... More

Print this item

  filtering a list of dictionary as per given criteria
Posted by: jss - Dec-22-2023, 12:26 PM - Forum: General Coding Help - Replies (5)

i have metadata and api_request as below.

[python]
metadata = [

{"path": "d/scripts", "name": "../"},
{"path": "d/scripts", "name": "..... More

Print this item

  uploading files from a ubuntu local directory to Minio storage container
Posted by: dchilambo - Dec-22-2023, 07:17 AM - Forum: General Coding Help - No Replies

I want to upload files (text and binary) from my local machine running ubuntu 20.04 to a Minio storage container also in the same machine.
below are..... More

Print this item

  Merging rows and adding columns based on matching index
Posted by: pythonnewbie78 - Dec-21-2023, 04:23 PM - Forum: Data Science - Replies (3)

Hello community, tried this a million different ways with pandas groupby but no luck, any help is appreciated. First year learning python and still tr..... More

Print this item

  Upload Files to Azure Storage Container
Posted by: phillyfa - Dec-21-2023, 03:53 PM - Forum: General Coding Help - Replies (6)

Hello,

I found the script online that uploads multiple JPG files. I changed it so I can upload multiple BLOB files, i.e.) csv, xls, etc. However,..... More

Print this item

  'pip' not recogmnized in windows prompt
Posted by: MaartenRo - Dec-21-2023, 08:09 AM - Forum: General Coding Help - Replies (1)

Hi,

I want to add a library in Python by typing

Quote:pip install python-docx
in de Windows command promp. I get the result[quote] 'pip' i..... More

Print this item

  Why I am not getting the Redirected codes using requests?
Posted by: nu1153495 - Dec-20-2023, 05:13 PM - Forum: General Coding Help - Replies (2)

Hi, thank you for spending your valuable time to help me. I have tried the following code to get the dead, redirected, alive URLs. But I am not gettin..... More

Print this item

  Virtual Env changing mysql connection string in python
Posted by: Fredesetes - Dec-20-2023, 04:06 PM - Forum: General Coding Help - No Replies

I have a script that uses a Virtual Environment and has a connection to mysql where the connection string has the host as localhost or 127.0.0.1, it w..... More

Print this item

Sad UnpicklingError: NEWOBJ expected an arg tuple.
Posted by: biyazelnut - Dec-20-2023, 03:16 AM - Forum: General Coding Help - No Replies

I'm new with this pickle and have to continue previous' code.

The code is about clustering data, and when I run, the error occurs:

[b]Unpickling..... More

Print this item

  openpyxl documentation
Posted by: OldMainframeProgrammer - Dec-19-2023, 09:25 PM - Forum: General Coding Help - Replies (3)

I started a project early last spring reading and updating an excel spreadsheet and got pulled off it for other activities. I'm now back to it. The ..... More

Print this item

  super() in class
Posted by: akbarza - Dec-19-2023, 11:57 AM - Forum: General Coding Help - Replies (1)

hi
in code:
[python]# from: https://roocket.ir/discuss/%D8%B9%D9%85%...8%B1%D8%AF-
# super-%D8%AF%D8%B1-%D8%A7%D8%B1%D8%AB-%D8%A8%D8%B1%D..... More

Print this item

Exclamation Please Help
Posted by: zohershmer - Dec-19-2023, 09:35 AM - Forum: Web Scraping & Web Development - Replies (5)

I need to fix this script

Thank you


[python]from selenium import webdriver
from time import sleep
import os
from selenium.webdriver.support..... More

Print this item

  Problem with flask on Mac
Posted by: David763 - Dec-17-2023, 07:17 PM - Forum: General Coding Help - Replies (13)

Hi everyone I’m running Mac OS Ventura 13.2 and I’m trying to install flask-mysqldb library using pip on the terminal by running the code :
pip in..... More

Print this item

  Create SQLite3 database with peewee
Posted by: Jim53_1980 - Dec-17-2023, 04:08 PM - Forum: General Coding Help - Replies (2)

Hello everybody,

I begin with peewee to create SQLite database. When I use the python code example supplied with the documentation, all works corre..... More

Print this item

  Multiplayer Tic Tac Toe
Posted by: shn - Dec-17-2023, 03:53 PM - Forum: Code sharing - No Replies

Hi all,
Here is a project that I developed to learn Twisted Python. It's a Tic Tac Toe game, where a player can create a room with a unique id and an..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Help with Serial.write in... 5 hours ago racingsubby racingsubby General Codin...
  Backward compatibility qu... 6 hours ago yutaozhou yutaozhou News and Disc...
  [Tkinter] I’m building a ... 8 hours ago tsgiannis Gribouillis GUI
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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...
Most views
  The best Prog... 578757
  Tutorial Requ... 509573
  Web Scraping ... 441884
  Newbie with P... 385854
  New Users Int... 375543
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+ 12103
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
thebigback Yesterday
dimitriwati Yesterday
johnsonlucas83 Yesterday
ColorTig Yesterday
AcoolPurpleOne1863 Yesterday

User Panel Messages

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