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,537
» Latest member: rb9594
» Forum threads: 38,665
» Forum posts: 175,197

Full Statistics

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

Latest Threads
pip3 install certifi fail...
Forum: General Coding Help
Last Post: rb9594
1 hour ago
» Replies: 0
» Views: 12
"iBolt Cyber Hacker Recov...
Forum: Bar
Last Post: lilianaortegga
5 hours ago
» Replies: 0
» Views: 18
HIRE DIGITAL FORENSIC EXP...
Forum: Bar
Last Post: Saragonzales
7 hours ago
» Replies: 0
» Views: 22
Custom Sorting List of Di...
Forum: Homework
Last Post: deanhystad
7 hours ago
» Replies: 2
» Views: 175
Unable to define function...
Forum: Homework
Last Post: deanhystad
7 hours ago
» Replies: 1
» Views: 45
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 10:14 AM
» Replies: 6
» Views: 665
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
Yesterday, 09:36 AM
» Replies: 3
» Views: 158
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 01:32 AM
» Replies: 1
» Views: 112
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Jul-13-2025, 11:23 AM
» Replies: 7
» Views: 479
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 269

 
  Better way to write this function
Posted by: SephMon - Feb-08-2023, 11:21 AM - Forum: General Coding Help - Replies (1)

Hello
I have created a rock paper scissors game, it works fine but one function is very long and I was wondering if maybe there was a better way to ..... More

Print this item

  API Calls for my app
Posted by: newby77 - Feb-08-2023, 07:23 AM - Forum: Homework - Replies (4)

Hi everyone,

I'm looking for API calls to fetch information for my EV Charging App and how to merge them into the app code.
My code has dummy ent..... More

Print this item

  Replace with upper(string)
Posted by: WJSwan - Feb-08-2023, 05:25 AM - Forum: General Coding Help - Replies (7)

I need to find all strings like this: \nd string \nd*
where string is any alphabetic string, eg. [A-z]+

I then need to replace it by upper(stri..... More

Print this item

  numpy newbie question
Posted by: bcwilly_ca - Feb-08-2023, 02:20 AM - Forum: General Coding Help - Replies (4)

Hello:

Just started in python and have successfully connected to an application using its API

When I query the API for Data I get a list returne..... More

Print this item

  Help with test
Posted by: Jacopo_98 - Feb-07-2023, 05:04 PM - Forum: Homework - Replies (7)

Hi, i'm currently following a google online course on python, and I am having truble solving a programming problem. I am studying strings at the momen..... More


Attached Files

Thumbnail(s)
   
Print this item

  Where to best ask for feature requests for TK(inter)
Posted by: NebularNerd - Feb-07-2023, 12:10 PM - Forum: GUI - Replies (2)

Hello fellow Python'eers

I recently switch from PySimpleGUI to customtkinter, a bit of a learning curve between the two but after a couple of days ..... More

Print this item

  How to timeout a task using the ThreadpoolExecutor?
Posted by: lowercase00 - Feb-07-2023, 04:37 AM - Forum: General Coding Help - Replies (2)

Hi all.

I'm wonder what are the possible approaches to handle timeout of a task that was submitted to an executor ThreadPoolExecutor.
I know I can ..... More

Print this item

  Having trouble installing scikit-learn via VSC and pulling my hair out
Posted by: pythonturtle - Feb-06-2023, 11:32 PM - Forum: General Coding Help - Replies (1)

Hello fam,

I am a self-starter in learning about Python programming and I am currently trying to make a small app analyzing an uploaded image. How..... More


Attached Files

.txt   scikit-learn.txt (Size: 13.22 KB / Downloads: 763)
Print this item

Question Email and TLS only, how ?
Posted by: SpongeB0B - Feb-06-2023, 01:51 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I'm currently digging how to send email trough Python with TLS (only)

So it's kind of heavy reading
https://docs.python.org/3/libr..... More

Print this item

  Regex pattern match
Posted by: WJSwan - Feb-06-2023, 12:11 PM - Forum: General Coding Help - Replies (2)

I am trying to match all characters between "\x" and "\xk" for instance: in the string "\x - \xo 2:2 \xk".

I set my pattern as:

[python]
patte..... More

Print this item

  Adding a new file/node to QFileSystemModel
Posted by: DrakeSoft - Feb-06-2023, 11:15 AM - Forum: GUI - Replies (1)

The QFileSyst[url=https://python-forum.io/thread-39367.html]..... More

Print this item

  Pls Help Me
Posted by: gnss - Feb-05-2023, 08:55 PM - Forum: General Coding Help - Replies (1)

The following code helps me to process only one image. However, I want to process all images in the path and detect the change.
My aim is to determin..... More

Print this item

  Problems and doubts with Anaconda and Spyder
Posted by: newbieAuggie2019 - Feb-05-2023, 08:40 PM - Forum: News and Discussions - Replies (9)

Hello again!

I apologize if this is not the right forum for the following problems and doubts.

I was still using Python 3.7.4 for..... More

Print this item

  BEM Methodology: Class Compositions with Modifiers
Posted by: fefa4ka - Feb-05-2023, 07:33 PM - Forum: Code sharing - No Replies

Have you ever struggled with keeping your code modular and maintainable, especially when working on larger projects? If so, I want to introduce you to..... More

Print this item

Question Vertex(Contour) to mesh conversion
Posted by: JorgeRdz - Feb-05-2023, 06:31 PM - Forum: General Coding Help - Replies (1)

I have a list of vertices that represent the contour of a shape in a two-dimensional plane. Where each pair represents an x and y coordinate. The cont..... More

Print this item

Question Login program
Posted by: Leventeand1 - Feb-05-2023, 05:31 PM - Forum: News and Discussions - Replies (1)

Hello! I learned python a month ago. I would like to make a login program for practice (GUI). I got to the point where I did the buttons and stuff. Bu..... More

Print this item

  REST API using flask - limit connection?
Posted by: korenron - Feb-05-2023, 12:11 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I have a REST APi that take a picture , analyze it - and return an answer to the user.
the all process it taking ~ 25 seconds.
how can I l..... More

Print this item

  Update exist plot while change upper limit or lower limit
Posted by: SamLiu - Feb-05-2023, 10:05 AM - Forum: GUI - Replies (1)

Hi all,
I made a visualization kit to view the offset trend, I have some problems with that:
1)Update exist plot while change upper limit or lower l..... More

Print this item

Question Setup program
Posted by: Leventeand1 - Feb-05-2023, 08:37 AM - Forum: News and Discussions - No Replies

Hello! How can I download something from the Internet through a program? I made a program and I want a Setup program for it! How can I make it so that..... More

Print this item

  tkinter.TclError: expected integer but got " "
Posted by: TWB - Feb-04-2023, 02:35 PM - Forum: GUI - Replies (2)

Hello all,
I am trying to build a function that i can use to check a imput field that requires a integer to make sure a character hasn't been entere..... More

Print this item

  Working with Excel and Word, Several Questions Regarding Find and Replace
Posted by: Brandon_Pickert - Feb-04-2023, 04:41 AM - Forum: General Coding Help - Replies (4)

Looking to loop through Word doc files in a folder and update, or "find and replace" a specific section of the text in the documents. This text is typ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Pypdf2 will not find text
Posted by: standenman - Feb-03-2023, 08:51 PM - Forum: General Coding Help - Replies (2)

This code will not display any text and but wll print the number of pages, 31, in the pdf file. I can change the number of the page up and still no t..... More

Print this item

  Turtle Graphics - Screen & Window Sizing
Posted by: jerryf - Feb-03-2023, 07:36 PM - Forum: General Coding Help - Replies (1)

I am new to Python but have previous general programming experience. I have Python 3.7 installed on Windows 11 and using Pyscripter as a development ..... More

Print this item

  Need help with coding in script
Posted by: madpatrick - Feb-03-2023, 07:33 PM - Forum: General Coding Help - Replies (9)

Hi,

I'm trying to get the info for a JSON file in to a script.

[python] def onMessagetoonSceneinfo(self, Connection, Response):
Dom..... More

Print this item

  while loop not working-I am using sublime text editor
Posted by: mma_python - Feb-03-2023, 07:11 PM - Forum: General Coding Help - Replies (4)

The while loop is not working for the program below. I am using python 3.6 and practicing on sublime text editor:

[python]prompt="\n Please enter t..... More


Attached Files

Thumbnail(s)
   
Print this item

  Multiple Plots in Spyder
Posted by: PythonAndMe2023 - Feb-03-2023, 07:00 PM - Forum: General Coding Help - No Replies

Hello
I'm relatively new to Python and am not sure how to best display multiple plots in Spyder.
The code below always displays the last plot (each ..... More

Print this item

  Python Version upgrade
Posted by: nitinkukreja - Feb-03-2023, 04:38 PM - Forum: General Coding Help - Replies (1)

Hi!

I'm novice to Python! I have Mac Mini (M1, 2020) with Apple M1 chip (version 12.4). I use VS Code and PyCharm for running my handful of Algos f..... More


Attached Files

Thumbnail(s)
   
Print this item

  Flask Rest API - fire and forget
Posted by: MorganSamage - Feb-03-2023, 03:46 PM - Forum: Web Scraping & Web Development - Replies (2)

I am trying to call a flask rest api to do some processing, but the processing is taking longer than the rest api timeout (2 minutes), and I have no c..... More

Print this item

  Web Development Compliance
Posted by: mariathomas - Feb-03-2023, 02:40 PM - Forum: Bar - Replies (1)

Hey everyone,

I'm looking for some guidance on how to best address the importance of privacy certification when it comes to web development. Does ..... More

Print this item

  What is this error?
Posted by: Led_Zeppelin - Feb-03-2023, 02:25 PM - Forum: General Coding Help - Replies (1)

In the following code there is an error as shown:

[python]
# Set the data
data = dax

# Extract the feature names and importance values
featu..... More

Print this item

Question Why isn't getops handling all parameters?
Posted by: Calab - Feb-03-2023, 01:17 PM - Forum: General Coding Help - Replies (7)

For some reason, getops is only seeing 9 parameter entries of a bash command line that has 12 parameter entries. I can't figure out why. None of the p..... More

Print this item

  Flask/non-flask database sharing
Posted by: MorganSamage - Feb-03-2023, 11:46 AM - Forum: Web Scraping & Web Development - Replies (2)

Firstly, I have very little experience with python, so any constructive feedback on what I have done/should do with regards to the following issue tha..... More

Print this item

  syntax error question - string
Posted by: mgallotti - Feb-03-2023, 12:02 AM - Forum: General Coding Help - Replies (5)

Hi
When I try to include strings(Htitle1) inside some HTML that I want to send in an email, I get this error: TypeError: set_text_content() got multi..... More

Print this item

  problem of converting Matlab code to python
Posted by: DongyanZ - Feb-02-2023, 04:12 PM - Forum: Data Science - Replies (2)

Hi my friend,

I am using Jupyter Notebook to handle my data. Now I have a csv file with 6 columns and 32768 rows, but I only need the 2nd, 5th and ..... More

Print this item

  Converting several Markdown files into DOCX using Pandoc
Posted by: Akule8 - Feb-02-2023, 02:54 PM - Forum: General Coding Help - No Replies

Hey Guys,
I have a folder called Project, this is the structure:

Project:

img
docs
README

The README is written in Markdown and looks like..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip3 install certifi fail... 1 hour ago rb9594 rb9594 General Codin...
  "iBolt Cyber Hacker Recov... 5 hours ago lilianaortegga lilianaortegga Bar
  HIRE DIGITAL FORENSIC EXP... 7 hours ago Saragonzales Saragonzales Bar
  Custom Sorting List of Di... 7 hours ago aryasinner deanhystad Homework
  Unable to define function... 7 hours ago gmonroe deanhystad Homework
  RemoTe server operation w... Yesterday, 10:14 mario17 snippsat General Codin...
  Qt Event Filtering Yesterday, 09:36 deanhystad deanhystad GUI
  processing nested json da... Yesterday, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt 07-13, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
Most views
  The best Prog... 572689
  Tutorial Requ... 485720
  Web Scraping ... 437145
  Newbie with P... 380084
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12073
buran 8174
snippsat 7352
deanhystad 6857
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
rb9594 Today
lilianaortegga Yesterday
Saragonzales Yesterday
homerpalmer Yesterday
aihancaiji31 Yesterday

User Panel Messages

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