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,392
» Latest member: MiaChota
» Forum threads: 38,822
» Forum posts: 176,019

Full Statistics

Online Users
There are currently 52 online users.
» 0 Member(s) | 49 Guest(s)
Bing, Google, AOL

Latest Threads
Найдите все грани победы ...
Forum: General Coding Help
Last Post: MiaChota
7 minutes ago
» Replies: 0
» Views: 6
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 06:21 PM
» Replies: 1
» Views: 60
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Yesterday, 04:06 PM
» Replies: 9
» Views: 233
IP address for users
Forum: Networking
Last Post: itx_sumeet
Yesterday, 05:53 AM
» Replies: 4
» Views: 7,069
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 01:10 AM
» Replies: 5
» Views: 9,892
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 138
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 83
requests.post not sending...
Forum: Web Scraping & Web Development
Last Post: noisefloor
Dec-24-2025, 09:20 AM
» Replies: 2
» Views: 149
Looking for constructive ...
Forum: News and Discussions
Last Post: cecrease
Dec-24-2025, 03:16 AM
» Replies: 2
» Views: 1,297
Switching from batch proc...
Forum: GUI
Last Post: arbiel
Dec-23-2025, 09:38 PM
» Replies: 0
» Views: 109

 
  What are these python lines for? What are tey doing?
Posted by: Led_Zeppelin - Feb-08-2023, 05:56 PM - Forum: General Coding Help - Replies (7)

In the following code I need to know exactly what the two lines of code are doing:

#!/usr/bin/env python
# coding: utf-8

# In[1]:

[python]..... More


Attached Files

Thumbnail(s)
           
Print this item

Question Email, certificate verify failed: unable to get local issuer certificate
Posted by: SpongeB0B - Feb-08-2023, 02:24 PM - Forum: Networking - No Replies

Hi everyone,

I'm trying to connect to my email provider with (extract)
[python]
from smtplib import SMTP_SSL

context = ssl.create_default_cont..... More

Print this item

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Найдите все грани победы ... 7 minutes ago MiaChota MiaChota General Codin...
  How to Integrate External... Yesterday, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... Yesterday, 16:06 eedjsa eedjsa General Codin...
  IP address for users Yesterday, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... Yesterday, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
  Looking for constructive ... 12-24, 03:16 decuser cecrease News and Disc...
  [PyQt] Switching from bat... 12-23, 21:38 arbiel arbiel GUI
  Exploring Different Pytho... 12-23, 13:01 girish_benvanshi ankitsharma32 News and Disc...
Most views
  The best Prog... 580368
  Tutorial Requ... 519122
  Web Scraping ... 442771
  Newbie with P... 386955
  New Users Int... 386281
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
MiaChota Today
taylorlitleoz476 Today
desy845 Today
atalieyandext4063 Yesterday
finallen321 Yesterday

User Panel Messages

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