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,933
» Latest member: randydurham
» Forum threads: 38,723
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 44 online users.
» 1 Member(s) | 36 Guest(s)
Applebot, Bing, Google, AOL, Internet Archive, Mojeek, kshahzad1985

Latest Threads
NEED HELP TO RECOVER SCAM...
Forum: Data Science
Last Post: randydurham
50 minutes ago
» Replies: 0
» Views: 7
THE MOST TRUSTWORTHY CRYP...
Forum: General Coding Help
Last Post: randydurham
56 minutes ago
» Replies: 0
» Views: 7
Too much space between gr...
Forum: GUI
Last Post: RonR
3 hours ago
» Replies: 2
» Views: 868
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
6 hours ago
» Replies: 0
» Views: 46
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
10 hours ago
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,454
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,525
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 387
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 121
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,893

 
  Sequential Decision Making
Posted by: erdemath - Feb-09-2023, 09:20 PM - Forum: Data Science - Replies (2)

I am generating a sequential decision making model. I am using tensorflow.keras.sequantial.
But any time I train my model, I have t..... More

Print this item

  Matplot / numpy noisy data problem
Posted by: the57chambers - Feb-08-2023, 11:23 PM - Forum: General Coding Help - Replies (1)

Hi there,
I seem to be having a weird issue with my python when using numpy, pandas and matplot lib. I have a basic time series data that is uploaded..... More


Attached Files

Thumbnail(s)
           
Print this item

  Cross 2 arrays
Posted by: dylan261999 - Feb-08-2023, 08:23 PM - Forum: General Coding Help - Replies (4)

Hi,

With Matlab, I can run this easily :

a = [0 0 0 0 0]
b = [1 1 1 1]

a(1:1:end) = b
To obtain : a = [0 1 0 1 0 1 0 1 0..... More

Print this item

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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP TO RECOVER SCAM... 50 minutes ago randydurham randydurham Data Science
  THE MOST TRUSTWORTHY CRYP... 56 minutes ago randydurham randydurham General Codin...
  [Tkinter] Too much space ... 3 hours ago RonR RonR GUI
  How Reliable Is Assignmen... 6 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... 10 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
Most views
  The best Prog... 575818
  Tutorial Requ... 497084
  Web Scraping ... 439830
  Newbie with P... 383526
  New Users Int... 365392
Most reputation
buran 581
snippsat 508
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
randydurham Today
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday

User Panel Messages

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