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,464
» Latest member: EZEKIELGRAPHICSMEDIA
» Forum threads: 38,576
» Forum posts: 174,802

Full Statistics

Online Users
There are currently 502 online users.
» 1 Member(s) | 498 Guest(s)
Bing, Google, Yandex, snippsat

Latest Threads
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
1 hour ago
» Replies: 16
» Views: 991
Return a string or byte o...
Forum: General Coding Help
Last Post: Calab
2 hours ago
» Replies: 4
» Views: 165
class Blockage not projec...
Forum: General Coding Help
Last Post: Azdaghost
3 hours ago
» Replies: 0
» Views: 30
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
8 hours ago
» Replies: 1
» Views: 328
Pip help
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 4
» Views: 318
Paste text with caret alr...
Forum: General Coding Help
Last Post: armorerratic
Today, 01:12 AM
» Replies: 2
» Views: 944
Library Management System
Forum: Homework
Last Post: deanhystad
Yesterday, 01:56 AM
» Replies: 1
» Views: 150
smbus.SMBus i2c code whic...
Forum: General Coding Help
Last Post: NewbyTyro
May-12-2025, 03:51 PM
» Replies: 2
» Views: 270
Why are the PythonT symli...
Forum: News and Discussions
Last Post: gernophil
May-12-2025, 08:10 AM
» Replies: 0
» Views: 130
Send SMS from my phone nu...
Forum: General Coding Help
Last Post: TheTechNexus
May-11-2025, 05:48 PM
» Replies: 4
» Views: 3,814

 
  Different code execution times
Posted by: Wirbelwind94 - Oct-04-2023, 06:06 PM - Forum: General Coding Help - Replies (4)

Hi,
i have the problem with the following code that it takes extremely long time to run completely under Python 3.9 - 3.11. but under 3.6 - 3.8 it wo..... More

Print this item

  How to read module/class from list of strings?
Posted by: popular_dog - Oct-04-2023, 02:01 PM - Forum: General Coding Help - Replies (1)

How can I get 'string_wrong' to print out what 'correct' is printing out?

[python]
from google.cloud import bigquery

corret = [bigquery.SchemaF..... More

Print this item

  cant click button by script at page
Posted by: michael1834 - Oct-04-2023, 12:27 PM - Forum: Web Scraping & Web Development - Replies (1)

i try to click button, which, when clicked, should send the contract number and return data in the table

[quote]
<button class="k-primary k-button k-..... More

Print this item

  difference between forms of input a list to function
Posted by: akbarza - Oct-04-2023, 11:06 AM - Forum: General Coding Help - Replies (6)

hi
what is difference between f(b) and f(b[:]) in below? when i run them the outputs are different
1)
[python]b=[1,2]
id(b)
def f(a):
a[0]=3..... More

Print this item

  Resolving ImportError: No module named gdb (Python in C++)
Posted by: mandaxyz - Oct-04-2023, 10:14 AM - Forum: General Coding Help - Replies (3)

The following serves as the foundation of my code; however, I encounter an error: "ImportError: No module named gdb". How can I resolve this issue? Go..... More

Print this item

  How to find element in a deeply nested html structure
Posted by: Orientation_group - Oct-04-2023, 06:20 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi, I have a deeply nested element (the 11.7 value underlined) as shown below. May I know how can I find this element?


..... More

Print this item

  trouble reading string/module from excel as a list
Posted by: popular_dog - Oct-03-2023, 10:22 PM - Forum: General Coding Help - No Replies

I'm trying to read from a cell in a csv file as a list, but I'm running into a problem.

[python]import csv
from google.cloud import bigquery


with ..... More

Print this item

  concat 3 columns of dataframe to one column
Posted by: flash77 - Oct-03-2023, 08:55 PM - Forum: Data Science - Replies (2)

Hi,
I've got a dataframe with 100 rows and 3 columns (please see attachment).

How can I concate the 3 columns to one column?

Per example the 3 ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Kivy Flask Buildozer compile apk
Posted by: frohr - Oct-03-2023, 07:11 PM - Forum: General Coding Help - Replies (2)

Hi, I have simple code for Flask local server:

[python]
import sys
import io

sys.stdout = io.StringIO()
sys.stderr = io.StringIO()

from ki..... More

Print this item

  cv2 and opcua, doesn't like each other
Posted by: Mvcko - Oct-03-2023, 09:42 AM - Forum: General Coding Help - No Replies

Hi, I've got a problem with my code, I have to stop while loop in 244 line using varible from opcua server. It works, but when i using this method my ..... More


Attached Files

.py   demo.py (Size: 17.99 KB / Downloads: 154)
Print this item

  i tried to install python for the first time today and pretty certain im being remote
Posted by: brianlj - Oct-03-2023, 09:34 AM - Forum: General Coding Help - Replies (2)

I'm pretty certain I'm being remote accessed and just straight effed around. It wouldn't install python for me today for my first attempt ever. I am a..... More

Print this item

  build Python 3.12 in el7
Posted by: SergeyMx - Oct-03-2023, 08:26 AM - Forum: General Coding Help - Replies (5)

I have been building all versions ( 3.11.5 and below) of Python on my el7 (CentOS 7) system with no problems.
Now 3.12 is out and I can't build it.
..... More

Print this item

  advice needed
Posted by: DPaul - Oct-03-2023, 06:38 AM - Forum: Bar - Replies (5)

Hi,
I could use some advice ! Prayer cards are an endless source of challenges.
In our centre, over the years, zillions of documents have been filed..... More

Print this item

  How to find out from outside Python (in Windows) the current version of Python?
Posted by: pstein - Oct-03-2023, 06:34 AM - Forum: General Coding Help - Replies (5)

Assume I installed in the past Python on my Windows 10 system.

Is there a way to find out from OUTSIDE Python the currently installed version of Py..... More

Print this item

  howto get size of a ctk image?
Posted by: janeik - Oct-03-2023, 02:53 AM - Forum: General Coding Help - Replies (2)

hi, I have a CTkImage that needs heigth and width size of image.
Guess I have to use cget but doesnt find parameters.
my_image.cget(?,?)
Anyone?
..... More

Print this item

  to find in dictionary given parameter 'name' and to output position
Posted by: Liki - Oct-03-2023, 01:26 AM - Forum: Homework - Replies (10)

Hello!

Given ist the dictionary "telefonbook" with telefon-Nr. as the key, and with vorname, name, adress as the parameters to the keys.

I'm try..... More

Print this item

  Make your own assets! Lightning fast Workflow for Character Animation Sprite Sheets
Posted by: ReneEspinoza - Oct-02-2023, 11:34 PM - Forum: Bar - Replies (2)

I'm thrilled to announce that I'm about to launch a course on the Udemy platform, specially designed for game developers and 2D artists! 🎮🎨

If you're..... More

Print this item

  Mysql and mysql.connector error
Posted by: lostintime - Oct-02-2023, 11:32 PM - Forum: General Coding Help - Replies (2)

Hello ,
i trying to read a text file that has 9 items to be inputted to the MySQL database.
The one issue i have (other than this error) the file ca..... More

Print this item

  getpass.getpass() results in AttributeError: module 'os' has no attribute 'O_NOCTTY'
Posted by: EarthAndMoon - Oct-02-2023, 02:56 PM - Forum: General Coding Help - Replies (4)

When I call getpass.getpass(), I get this error:

[b]Traceback (most recent call last):
_File "<stdin>", line 1, in <module>
[colo..... More

Print this item

  Python coming to DroidScript (build native Android Apps)
Posted by: d_a_v_e - Oct-02-2023, 02:27 PM - Forum: News and Discussions - Replies (5)

Hi Guys,

I'm the founder of droidscript.org, a not-for-profit organisation with the aim of making app development easy, fast and fun for everyone, ..... More

Print this item

  How to test the high-score in my Python-game
Posted by: Pluviometer - Oct-02-2023, 09:23 AM - Forum: General Coding Help - Replies (2)

We have even taken turns introducing each other to new genres and types of porn we may not have explored before.

https://gayporn.name/categories/ghet..... More

Print this item

  pass a variable between tkinter and toplevel windows
Posted by: janeik - Oct-02-2023, 02:03 AM - Forum: GUI - Replies (9)

hello.
I have 2 windows:
a)window = tkinter.Tk(), a mapview and an Entry to write a filepath

b)top=Toplevel() and a label to view an image

I n..... More


Attached Files

Thumbnail(s)
   
Print this item

  nested function return
Posted by: MHGhonaim - Oct-01-2023, 11:31 PM - Forum: General Coding Help - Replies (2)

in which cases is it need to add () to inner functions return and why is it different in the following 2 examples
[Image: 0m41mjL]
..... More


Attached Files

Thumbnail(s)
       
Print this item

  What to do to stop all these threads?
Posted by: Valjean - Oct-01-2023, 10:38 PM - Forum: General Coding Help - Replies (3)

Hi guys, sorry for my noobness again:

I noticed when I was closing my app the task icon on visual code studio was still running. So my app was not ..... More

Print this item

  Weird characters scraped
Posted by: samuelbachorik - Oct-01-2023, 11:20 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi i am trying to scrape webpage but in names of products i get weird characters, i will show what is in webpage sourcode and what beautiful soup scra..... More

Print this item

  WHILE LOOP NOT RETURNING USER INPUT AFTER ZerroDivisionError! HELP!
Posted by: ayodele_martins1 - Sep-30-2023, 09:02 PM - Forum: General Coding Help - Replies (7)

[python]#WHILE LOOP NOT RETURNING USER INPUT AFTER ZerroDivisionError! HELP!
# Using the Modulus operator to find the reminder of any two operands
w..... More

Print this item

  It's saying my global variable is a local variable
Posted by: Radical - Sep-30-2023, 05:13 PM - Forum: General Coding Help - Replies (5)

[b]EDIT: Okay I found this video that explains the issue well: https://www.youtube.com/watch?v=qsf_pM9Ge_g
but this issue does not exist in C++. So wh..... More

Print this item

  dict table
Posted by: kucingkembar - Sep-30-2023, 10:48 AM - Forum: General Coding Help - Replies (4)

sorry for my bad English,
i have this problem, I have this data from JA3
[error]
Id : AA12
Group : Firearm - Shotgun
object_class : Shotgun
R..... More

Print this item

  Web scrap --Need help
Posted by: Lizardpython - Sep-30-2023, 09:21 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi.
I got a weblink which have below:
I use a selenium to webscrap , intending to click on the downloadALLChart, but i not sure how to do it
Thanks..... More

Print this item

  Downloaded file corrupted
Posted by: emont - Sep-30-2023, 02:20 AM - Forum: General Coding Help - Replies (5)

Hello,

I am trying to download a file from a web page, but when I try to open it, it shows an error    


This is my code:
[python..... More

Print this item

  string theory
Posted by: monkeyPlus - Sep-30-2023, 01:03 AM - Forum: Code sharing - Replies (1)

Anyone interessed

https://andrealbergaria.github.io/

thks

andre

Print this item

  Alicat Flow Meter data acquisition
Posted by: marenr - Sep-29-2023, 10:59 PM - Forum: General Coding Help - No Replies

Hi everybody.

I have this code that I use to graph and acquire temperature data from three thermocouples using nidaqmx:

[python]import nidaqmx
..... More

Print this item

  Python in Excel
Posted by: Larz60+ - Sep-29-2023, 07:53 PM - Forum: News and Discussions - Replies (4)

Don't know how I missed this one. The anouncement is a month old.
I found out from Guido's X (twitter) post (he helped out...)
see ..... More

Print this item

  Starting over with Python
Posted by: Mark17 - Sep-29-2023, 02:19 PM - Forum: General Coding Help - Replies (1)

Hi all! I'm giving Python another stab after about 18 months. I'm not a programmer so I really can feel the rust being chiseled off as I start to le..... More

Print this item

  Two issues in table created by PySimpleGUI
Posted by: ranjansanyal2007 - Sep-28-2023, 06:39 PM - Forum: GUI - Replies (10)

I have created the code to search, modify tables. I have created two windows, the second has two issues in the table.
1. The click event is not worki..... More


Attached Files

.py   dbcongui.py (Size: 9.59 KB / Downloads: 176)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  problems with netcdf if I... 1 hour ago Blaubart Blaubart General Codin...
  Return a string or byte o... 2 hours ago Calab Calab General Codin...
  class Blockage not projec... 3 hours ago Azdaghost Azdaghost General Codin...
  Retired and Learning Pyth... 8 hours ago breacsealgaire BarbaraGonzalez Code sharing
  Pip help 11 hours ago meditek Larz60+ General Codin...
  Paste text with caret alr... Today, 01:12 Wehaveall armorerratic General Codin...
  Library Management System Yesterday, 01:56 annajoy deanhystad Homework
  smbus.SMBus i2c code whic... 05-12, 15:51 NewbyTyro NewbyTyro General Codin...
  Why are the PythonT symli... 05-12, 08:10 gernophil gernophil News and Disc...
  Send SMS from my phone nu... 05-11, 17:48 aster TheTechNexus General Codin...
  [SOLVED] [Beautiful Soup]... 05-11, 17:32 Winfried Winfried General Codin...
Most views
  The best Prog... 563273
  Tutorial Requ... 447528
  Web Scraping ... 428301
  Newbie with P... 362164
  Thread remain... 334781
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+ 12050
buran 8169
snippsat 7324
deanhystad 6826
metulburr 5151
Top referrers
Googlepro 22
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
EZEKIELGRAPHICSMEDIA Today
BarbaraGonzalez Today
william224477 Today
ellena Today
armorerratic Today

User Panel Messages

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