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,472
» Latest member: olips784
» Forum threads: 38,579
» Forum posts: 174,810

Full Statistics

Online Users
There are currently 668 online users.
» 0 Member(s) | 665 Guest(s)
Yandex, Google

Latest Threads
Text frame
Forum: Homework
Last Post: Pedroski55
2 hours ago
» Replies: 2
» Views: 317
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
3 hours ago
» Replies: 0
» Views: 70
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 234
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 182
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,355
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 134
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 439
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,250
Retired and Learning Pyth...
Forum: Code sharing
Last Post: BarbaraGonzalez
May-14-2025, 09:04 AM
» Replies: 1
» Views: 385
Pip help
Forum: General Coding Help
Last Post: Larz60+
May-14-2025, 05:57 AM
» Replies: 4
» Views: 469

 
  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: 738)
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

  Error using pandas_datareader
Posted by: nafshar - Feb-02-2023, 01:28 PM - Forum: Data Science - Replies (1)

I am trying to read stock data using panda's DataReader and getting an error that I am not sure I understand.
The data source : 'yahoo' is found at t..... More

Print this item

  Can't modify a simple matrix
Posted by: Lewkiy - Feb-01-2023, 11:33 PM - Forum: General Coding Help - Replies (3)

I'm a beginner in python and I can't understand why this doesn't work like seriously, i really tried. You can see the result of the function on the le..... More


Attached Files

Thumbnail(s)
       
Print this item

Question Is there a python program for automating this invoicing workflow?
Posted by: PG_Archipelago - Feb-01-2023, 10:54 PM - Forum: General Coding Help - Replies (3)

Assuming a proper database management system (e.g., BigQuery) is used to store input data in Step 1, are there any Python programs out there for autom..... More

Print this item

  Master Python Programming, by Abhishek Singh
Posted by: Dionysis - Feb-01-2023, 07:39 PM - Forum: News and Discussions - Replies (4)

Hello to all!
I am more than excited to begin my journey in Python programming! I love Monty Python too!
After much research, I bought Singh's introdu..... More

Print this item

  shutil.move make data corrupt
Posted by: kucingkembar - Feb-01-2023, 01:30 PM - Forum: General Coding Help - No Replies

hi sorry for my bad English,
i have this code:
[python]
SaveAs = "new folder name that contains illegal character !@#$%^&*"
..... More

Print this item

  Printing effect sizes for variables in an anova
Posted by: eyavuz21 - Feb-01-2023, 10:29 AM - Forum: General Coding Help - Replies (2)

Hey all,

I have the following code.

[python]resultmodeldistancevariation2sleep = smf.ols(formula='weighteddistance ~ age + C(gender) + C(highest_ed..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Text frame 2 hours ago dnabtuh Pedroski55 Homework
  Python automation: Sendin... 3 hours ago olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
  Pip help 05-14, 05:57 meditek Larz60+ General Codin...
  Paste text with caret alr... 05-14, 01:12 Wehaveall armorerratic General Codin...
Most views
  The best Prog... 565182
  Tutorial Requ... 455788
  Web Scraping ... 430137
  Newbie with P... 366131
  Thread remain... 338408
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 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
olips784 Today
iloveimg3 Yesterday
ishaD Yesterday
fitobar43 Yesterday
AymanNassar 05-16

User Panel Messages

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