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,400
» Latest member: BioNanoTech
» Forum threads: 38,825
» Forum posts: 176,034

Full Statistics

Online Users
There are currently 27 online users.
» 0 Member(s) | 25 Guest(s)
Bing, Google

Latest Threads
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
59 minutes ago
» Replies: 1
» Views: 36
IP address for users
Forum: Networking
Last Post: DeaD_EyE
8 hours ago
» Replies: 6
» Views: 7,152
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
8 hours ago
» Replies: 1
» Views: 59
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,609
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 165
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,612
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 244
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,630
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 211
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 364

 
  How to fix the error?
Posted by: Adrian_L - Apr-04-2021, 07:26 PM - Forum: General Coding Help - Replies (2)

My current code: [python]import time
import random
import os

ValidBootFiles = ["XC_DOS", "shell"]

for x in range(100):
bootfrom = input("..... More

Print this item

  Matplotlib
Posted by: julienhofmann - Apr-04-2021, 07:07 PM - Forum: Homework - Replies (4)

Hi everyone,


I've created a code to run a 2D mapping using matplotlib from a .csv file.
I'd like to set the maximum color (red) of the scale as ..... More

Print this item

Question Help with Python - Palindromes
Posted by: SantiagoPB - Apr-04-2021, 02:05 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I have a problem with getting the result of my program Confused .

This is a task on palindromes.

STATEMENT
[i]Wr..... More

Print this item

  Displaying list correspond to the column number
Posted by: danlopek14q - Apr-04-2021, 10:02 AM - Forum: Homework - Replies (9)

Hello guys

I have a problem finding a solution for the lists.
I have a function all_list which takes two parameters (listas, column[]). Inside of the..... More

Print this item

  Matplotlib scale
Posted by: julienhofmann - Apr-04-2021, 08:50 AM - Forum: General Coding Help - No Replies

Hi everyone,


I've created a code to run a 2D mapping using matplotlib from a .csv file.
I've tried to set the maximum color (red) of the scale ..... More

Print this item

Question Palindromes - Python Help
Posted by: SantiagoPB - Apr-04-2021, 08:31 AM - Forum: Homework - Replies (5)

Hello everyone Big Grin ,

I have a problem with my code.

I must write a program that reads a string and from it obtain all the palindrome..... More

Print this item

  instance methods invokation
Posted by: mim - Apr-04-2021, 06:26 AM - Forum: General Coding Help - Replies (3)

does objects have its methods or invoke them from superclass in python?
for example:
[python]
class tst():
def __init__(self,name,family):
..... More

Print this item

  New to Flask
Posted by: vj78 - Apr-04-2021, 03:27 AM - Forum: Web Scraping & Web Development - Replies (1)

The code below displays hello

@app.route('/')
@app.route('/Login')
def Login():
    return "hello"
[b]The belo..... More

Print this item

  Error on open of file created with tempfile.TemporaryDirectory()
Posted by: Brian177 - Apr-04-2021, 02:49 AM - Forum: General Coding Help - Replies (4)

The below code gives an error on the line: tfp = open(path, "w+t")
Anyone know why?

[error]
Exception has occurred: NotADirectoryError
[WinError..... More

Print this item

  pylab, labeling points on a graph.
Posted by: Dasiey12 - Apr-04-2021, 01:08 AM - Forum: General Coding Help - No Replies

[python]def abs(absc, absx, c):
# find zeros of the function
zero1 = (absc + absx)
if zero1<0:
zero1 = (zero1*-1)
input1=..... More

Print this item

  I need help with a script that reads and searches through an api.
Posted by: phage - Apr-03-2021, 09:19 PM - Forum: Web Scraping & Web Development - Replies (3)

New coder here who needs help with api scanning project. I've been racking my brain with https://pastebin.com/Nk4yGAzz for four months, could use some..... More

Print this item

  Importing text file into excel spreadsheet with formatting
Posted by: david_dsmn - Apr-03-2021, 08:26 PM - Forum: General Coding Help - Replies (1)

Hi, I have many text files with similar format as below.

[output]
Apples: 1596.403 +- 10.651
Oranges: 10.16..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Sorry Help 59 minutes ago BioNanoTech Pedroski55 General Codin...
  IP address for users 8 hours ago Robots DeaD_EyE Networking
  Check if running from she... 8 hours ago rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580463
  Tutorial Requ... 519951
  Web Scraping ... 442797
  Newbie with P... 387010
  New Users Int... 386747
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
BioNanoTech Today
arachlmaarley4839 Yesterday
CarlApome Yesterday
JulioLet Yesterday
aellatsz9602 12-30

User Panel Messages

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