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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,835

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 34 Guest(s)
Google, buran

Latest Threads
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
15 minutes ago
» Replies: 2
» Views: 80
[solved] re.split issue
Forum: General Coding Help
Last Post: paul18fr
4 hours ago
» Replies: 8
» Views: 153
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 186
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 358
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 118
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 245
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 396
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 151
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,643
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 250

 
  Python Stored Procedure call is not working
Posted by: vj78 - Apr-03-2021, 07:27 PM - Forum: Web Scraping & Web Development - Replies (5)

Code below does not work ? The mycursor.callproc("getclockinhoursbyweek",()) is the problem.


[python] mydb = mysqldb.connect(host="localhost", u..... More

Print this item

  Python help for yahoo finance!
Posted by: Zshanar - Apr-03-2021, 05:12 PM - Forum: General Coding Help - Replies (7)

Hi,
I'm new to this forum & my python skills aren't that much good.
I was facing a problem related to the code I thought I could get some help her..... More

Print this item

  rtmidi problem after running the code x times
Posted by: philipbergwerf - Apr-03-2021, 05:01 PM - Forum: General Coding Help - Replies (1)

[python]def midi_input():

class Collector(threading.Thread):
def __init__(self, device, port):
threading.Thread.__init__(..... More

Print this item

  GridBagSizer
Posted by: menator01 - Apr-03-2021, 04:49 PM - Forum: GUI - Replies (3)

I'm trying place a wx.PaintDC object inside a cell for the GridBagSizer.
I don't understand why it doesn't show.
I can use a Boxsizer and it will sh..... More

Print this item

  how to check if file path finish on .csv
Posted by: danlopek14q - Apr-03-2021, 03:02 PM - Forum: Homework - Replies (4)

Hello guys

I have a simple problem finding how can I check if the file path entered by the user does end in for example with .csv
The user enter..... More

Print this item

Smile Panedwindow
Posted by: rfresh737 - Apr-03-2021, 01:23 PM - Forum: GUI - Replies (2)

(1) I'm trying to understand why my root.bind("<Configure>", resize) line fires when I drag my panedwindow sash left and right? This does not change t..... More

Print this item

  using lxml to create a complex type element
Posted by: piscvau - Apr-03-2021, 11:12 AM - Forum: Web Scraping & Web Development - No Replies

Hello
I need to create an xml document from existing python classes and the generated xml document must be compliant with an XML schema.
I am not f..... More

Print this item

  Customize Python Keywords for IDLE
Posted by: alanvers - Apr-03-2021, 10:56 AM - Forum: General Coding Help - No Replies

Hi,

I’m currently developing an interactive class for beginners with Python.

In order to be user-friendly, I’d like to modify keywords in python..... More

Print this item

Photo Textbox is being overdrawn
Posted by: G_rizzle - Apr-03-2021, 10:10 AM - Forum: Game Development - Replies (2)

Hello,

I am coding a program to controll a Tello EDU.
Right now I try to implement a take-a-photo button. It works, but after taking the photo, I wan..... More

Print this item

  lists
Posted by: JimLake - Apr-03-2021, 01:59 AM - Forum: General Coding Help - Replies (10)

Please tell me the difference between this:

for x,y,radius in circles:
and this:
for x,y,radius in circles[0]:
a..... More

Print this item

  stderr redirect to file
Posted by: fmr300 - Apr-02-2021, 10:50 PM - Forum: General Coding Help - Replies (2)

I'm trying to redirect stderr to a file, and I've read the numerous posts here, but it's not working for me on a Pi or on my Win laptop.
Hoping som..... More

Print this item

  Redirect in Python
Posted by: vj78 - Apr-02-2021, 10:41 PM - Forum: Web Scraping & Web Development - Replies (5)

Python web application:
In asp, I can do a simple response.redirect('www.google.com') how to do it in PYTHON?

I have a Login Page submits t..... More

Print this item

  keyboard module; must be root problem
Posted by: philipbergwerf - Apr-02-2021, 09:56 PM - Forum: General Coding Help - Replies (2)

Two problems:

  1. If I use
    import keyboard
    I get 'ImportError: You must be root to use this library on linux.'. I found al..... More

Print this item

  No again function discovered in python
Posted by: Noobsfather - Apr-02-2021, 08:16 PM - Forum: General Coding Help - Replies (3)

This is my first semi-professional project in Python. And I'm in trouble.

Python does not understand the again function. This means that when you p..... More

Print this item

  Python with win32com and EXIF renaming files.
Posted by: Amrcodes - Apr-02-2021, 07:01 PM - Forum: General Coding Help - Replies (4)

Current behavior: blinking cursor

Expected behavior: renaming media files.

Steps I took to make this project
1. First I..... More

Print this item

  Recommendations for LinkedIn
Posted by: metulburr - Apr-02-2021, 03:40 PM - Forum: Bar - Replies (8)

I was wondering if anyone with a linkedin account and willing would add reputation to any skills for job hunting.

I think I want to get back into I..... More

Print this item

  canvas widget scroll issue
Posted by: chrisdb - Apr-02-2021, 01:02 PM - Forum: GUI - Replies (2)

Hi,

I have a canvas inside a frame that contains 3 entry widgets, but for some reason ,when I scroll up, the widgets move down, althoug there is no..... More

Print this item

  generating 32 bit exe file
Posted by: Roshan - Apr-02-2021, 09:48 AM - Forum: General Coding Help - Replies (1)

Hi

My system is 64 bit ,

i created exe file successfully & working.

Now how can i create on 64 bit system exe file for 32 bit ?

Need Help...... More

Print this item

  Erreur de code python sur un template rpm de zabbix
Posted by: samba - Apr-02-2021, 09:41 AM - Forum: General Coding Help - No Replies

Après avoir importé un template rpm zabbix sur un de mes hôtes j'ai cette erreur sur le code qui me bloque
English: After importing a zabbix rpm tem..... More

Print this item

  Boot prompt and OS
Posted by: Adrian_L - Apr-01-2021, 11:50 PM - Forum: Code sharing - Replies (2)

boot prompt:
[python]import time
import random
import os

for x in range(90):
print("")

while True:
user = input('boot from: ')
..... More

Print this item

  Threading or pycharm pydev problem
Posted by: Fidgety - Apr-01-2021, 08:53 PM - Forum: General Coding Help - Replies (2)

Hello.

I have been coding a program to manage crypto orders on an exchange. I have had a absence from coding for nearly 10 years so I have been learn..... More

Print this item

  dictionary question
Posted by: stereokim123 - Apr-01-2021, 08:52 PM - Forum: Homework - Replies (2)

Hi I'm currently learning the basic python course, dictionary.

Item = {‘Apple’ : 10, ‘Banna’ : {‘Apple’ : 5, ‘Banna’ : 20}} here is the code that is ..... More

Print this item

  How to predict output in a regression problem?
Posted by: Rezaafz - Apr-01-2021, 08:50 PM - Forum: Data Science - Replies (1)

Hi everyone
I want to use a regression model of TensorFlow for machine learning some data in my project. I studied the TensorFlow tutorial in this li..... More

Print this item

  Using Regex Expression With Isin in Python
Posted by: eddywinch82 - Apr-01-2021, 08:44 PM - Forum: General Coding Help - No Replies

Hi there,

I am using the following Line Of Code, in Pandas :-

diff = df6.loc[~df6['Venue'].isin(df1['Venue'])]
diff
And I a..... More

Print this item

  wxPython
Posted by: menator01 - Apr-01-2021, 06:51 PM - Forum: Code sharing - Replies (1)

Thought I would try my luck at doing a simple yahtzee in wxpython. Just wanted to share what I have gotten done so far. It is not complete. Only have ..... More

Print this item

  Index data must be 1-dimensional : Classifier with sklearn
Posted by: Salma - Apr-01-2021, 03:22 PM - Forum: General Coding Help - No Replies

Hi,
As a very very beginner, I'm trying to write a code for a random tree forest classifier, and I'm starting with a step to know which features are..... More

Print this item

  Exercise List Overlap
Posted by: Damian - Apr-01-2021, 03:10 PM - Forum: General Coding Help - Replies (7)

Hi all,

I've got an exercise and I'm trying to solve it.

I'm a Python beginner.

EXERCISE
Take two lists (you can use the ones in the exampl..... More

Print this item

  [newbie] Why is a module imported twice?
Posted by: Winfried - Apr-01-2021, 02:13 PM - Forum: General Coding Help - Replies (3)

Hello,

In this example, I notice the module is imported twice.

[python]import gpxpy
import gpxpy.gpx..... More

Print this item

  PythonGrid
Posted by: vj78 - Apr-01-2021, 04:53 AM - Forum: Web Scraping & Web Development - Replies (6)

Has anyone worked with PythonGrid?

How to import and work with PythonGrid Module located here. https://pythongrid.com/installation/

I tried to ..... More

Print this item

  How to make a test data file for the full length of definition?
Posted by: MDRI - Apr-01-2021, 01:55 AM - Forum: General Coding Help - Replies (6)

How to make a test data file for the full length of definition?
================================================================

Thanks for your r..... More

Print this item

  How to make print without newline but wait in between each print?
Posted by: Adrian_L - Apr-01-2021, 12:00 AM - Forum: General Coding Help - Replies (6)

So how do I make a print without newline and have it wait in between print?
My current code: [python]print("=", end= '')
time.sleep(3)
print("=")[..... More

Print this item

  Python and MYSQL Resultset
Posted by: vj78 - Mar-31-2021, 09:37 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi - I am using Python to get results from mysql database.
The results displayed shows quotes and a u concatenated to the results? Not sure why?

R..... More

Print this item

  Request Headers (scheme)
Posted by: JohnnyCoffee - Mar-31-2021, 09:17 PM - Forum: General Coding Help - No Replies

I'm doing tests to structure an http server, initially I use a socket to plug it in (client.side X server.side) this I do without problems, see the co..... More

Print this item

  Getting values from a dictionary
Posted by: brunolelli - Mar-31-2021, 07:21 PM - Forum: General Coding Help - Replies (5)

Hello guys,

I'm using the following API project in order to collect some data from Flight Radar 24.
https://pypi.org/project/FlightRadarAPI/

I..... More

Print this item

  Compare each element of an array in a logic statement without using a for loop
Posted by: leocsmith - Mar-31-2021, 11:11 AM - Forum: General Coding Help - Replies (3)

I want to compare each element of an array to a numerical value without using a for loop. Here's my code:
[python]
if rho_phys * np.power(B, eta) <=..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Please guide me to comple... 15 minutes ago pbkurd pbkurd General Codin...
  [solved] re.split issue 4 hours ago paul18fr paul18fr General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 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...
Most views
  The best Prog... 578942
  Tutorial Requ... 510334
  Web Scraping ... 441963
  Newbie with P... 385981
  New Users Int... 376935
Most reputation
buran 581
snippsat 511
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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