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,237
» Latest member: alexmaarley8855
» Forum threads: 38,776
» Forum posts: 175,791

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 38 Guest(s)
Bing, Apple, Google, kshahzad1985

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 4
» Views: 91
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Yesterday, 10:39 AM
» Replies: 3
» Views: 95
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-07-2025, 07:29 PM
» Replies: 0
» Views: 70
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 106
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,065
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,364
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,555
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 186
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,196
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,442

 
  Impementing a client that connects to the server
Posted by: input - Feb-23-2023, 11:59 AM - Forum: News and Discussions - No Replies

I don't know if this is the good place to ask my question but I have some problems installing the Python module socketio in Windows 10.

I have this..... More

Print this item

  search file by regex
Posted by: SamLiu - Feb-23-2023, 11:18 AM - Forum: General Coding Help - Replies (1)

Hi all,

Search specific string name file in folder. How to config regular match.

folder include files as below:
Check_noise#3_P020_20211220_094..... More

Print this item

  List all possibilities of a nested-list by flattened lists
Posted by: sparkt - Feb-23-2023, 06:46 AM - Forum: General Coding Help - Replies (1)

S = [['he', 'she'], 'has', ['1', '2'], 'watch']

A list inside the list S indicates a possibility of a statement.
So there are four possibilities ..... More

Print this item

  Queuing Theory in Python
Posted by: NOLA_Saints - Feb-22-2023, 11:42 PM - Forum: General Coding Help - No Replies

I work for a contact center that has used Erlang for our capacity planning for some time now. However, we have found that Erlang can be incredibly unr..... More

Print this item

  Library scope
Posted by: mike_zah - Feb-22-2023, 11:09 PM - Forum: General Coding Help - Replies (2)

I've written a program that uses the SERIAL library. The program seems to work just fine. I have a question about the scope of the methods, such as se..... More

Print this item

  How to create a plot with line graphs and vertical bars
Posted by: devansing - Feb-22-2023, 08:14 PM - Forum: Data Science - Replies (6)

Hi,

I am trying to figure out how to create a graph similar to the following:

[Image: LHt8r.png]

where the x axi..... More


Attached Files

.csv   sample_data.csv (Size: 1.69 KB / Downloads: 5)
.py   recession_graph.py (Size: 599 bytes / Downloads: 3)
Print this item

  I cannot able to see output of this code
Posted by: ted - Feb-22-2023, 08:06 PM - Forum: General Coding Help - Replies (1)

[python]import sqlite3

conn = sqlite3.connect('emaildb.sqlite')
cur = conn.cursor()
cur.execute('DROP TABLE IF EXISTS Counts')
cur.execute('CREA..... More


Attached Files

Thumbnail(s)
   
Print this item

  Cannot find py credentials file
Posted by: standenman - Feb-22-2023, 06:58 PM - Forum: General Coding Help - Replies (5)

I have run this code successfully and now it has stopped. I simply do not understand what is going on.

[python]from adobe.pdfservices.operation.au..... More

Print this item

  tuple indices must be integers or slices, not str
Posted by: cybertooth - Feb-22-2023, 06:18 PM - Forum: General Coding Help - Replies (16)

I am trying to make a Tkinter GUI with PyMuPDF. however I am geting the error[error]Traceback (most recent call last):
File "C:\Users\INDIAN\Deskt..... More

Print this item

  Cannot get started
Posted by: standenman - Feb-22-2023, 03:05 PM - Forum: General Coding Help - Replies (4)

I cannot get started with my python project. I have installed python311 and I have included the path in my environmental variables. In command promp..... More

Print this item

  connecting to FTPS server help
Posted by: tfboy - Feb-22-2023, 10:02 AM - Forum: General Coding Help - Replies (2)

First post here so I hope I've put everything I need. Thanks in advance!

I'm new to Python and trying to get my head around some basics.
I have a ..... More

Print this item

  string index
Posted by: DPaul - Feb-22-2023, 08:00 AM - Forum: Bar - No Replies

Hi,
Tesseract has a few methods to OCR prayer cards, and for a particular type of document,
I need to use a combination of two methods. It presents a ..... More

Print this item

  I am confused with the key and value thing
Posted by: james1019 - Feb-22-2023, 04:46 AM - Forum: General Coding Help - Replies (3)

[python]responses = {}
polling_active = True

while polling_active:
name = input("\nWhat is your name? ")
response = input("Which mountai..... More

Print this item

  Python venv and PIP version issue
Posted by: JanOlvegg - Feb-21-2023, 08:06 PM - Forum: General Coding Help - Replies (2)

My work computer runs windows and I do not have admin rights. The computer however does allow install of Python using the company's package manager. T..... More

Print this item

  Need help with creating dynamic columns with for loops for stock prices
Posted by: PaDat - Feb-21-2023, 07:27 PM - Forum: General Coding Help - Replies (2)

Dear All,

I have a bunch of stock prices (about 100) and I want to dynamically compute their moving average, daily returns etc and have them in 1) ..... More

Print this item

  Node Flow Generation in Python
Posted by: Linenloid - Feb-21-2023, 07:09 PM - Forum: General Coding Help - No Replies

Hey all,

I was working on a project (code included). I wanted to simulate the flow of several nodes. Each node can go to several other nodes. This ..... More

Print this item

  Fill PDF and merge with another PDF
Posted by: CoPython - Feb-21-2023, 11:51 AM - Forum: General Coding Help - No Replies

Good day,

I'm still new and I also realize that some codes could really be easier. I'm still trying out the python part and learning more about it...... More

Print this item

  Looking for an IDE
Posted by: StevenT - Feb-21-2023, 10:53 AM - Forum: News and Discussions - Replies (1)

I will be doing some electrical simulations and plotting the results. I want a GUI for input and output.

I am considering Spyder.

Print this item

  Why does graph look different in Codecademy and Jupyter Notebook
Posted by: abc123456 - Feb-21-2023, 09:58 AM - Forum: Data Science - Replies (1)

It's part of Codecademy's premium content so I can't post the entire code but in their software I produce a graph that looks like this:

[img]https:..... More

Print this item

  need help rounding
Posted by: joseph202020 - Feb-21-2023, 06:23 AM - Forum: General Coding Help - Replies (7)

How do I round the float in last line to 2 places = x.xx instead of x.xxxxxxxxxx
it won't do it most of the time but it will with certain entered c..... More

Print this item

  How to horizontally align and display images side-by-side in an email using Python?
Posted by: shantanu97 - Feb-21-2023, 05:50 AM - Forum: General Coding Help - No Replies

How can I horizontally align and display two images side-by-side using Python and HTML in an email? I've tried adding the images using HTML code, but ..... More

Print this item

  post disappeared then re-appeared
Posted by: Skaperen - Feb-21-2023, 12:30 AM - Forum: Board - No Replies

i tried to post a new thread and nothing showed up. so i typed it all again and both showed up. since i can't delete my own posts i just edited it t..... More

Print this item

  creating an unlinked invisible file, writing it, then linking it
Posted by: Skaperen - Feb-21-2023, 12:16 AM - Forum: News and Discussions - Replies (2)

in C on Linux (maybe also on POSIX) i can create a regular file on a specific filesystem that has no link and no inode (it is in memory, not on disk) ..... More

Print this item

  invisible temporary files that become linked permanent
Posted by: Skaperen - Feb-20-2023, 11:55 PM - Forum: News and Discussions - No Replies

this post did not show up after i tried to post it.

Print this item

  A question about setting up Python
Posted by: JanOlvegg - Feb-20-2023, 10:06 PM - Forum: General Coding Help - Replies (1)

Hi, I am new to Python development and have a question about setting up the python development and best practices. I currently have Python install on ..... More

Print this item

  Flask error sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) UNIQUE constraint
Posted by: pythonpaul32 - Feb-20-2023, 07:34 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi all,

I have been trying to built a web app that's a book store for ecommerce website. I finally think I got the SQLAlchemy db working. Items an..... More

Print this item

  Save and Close Excel File
Posted by: avd88 - Feb-20-2023, 07:08 PM - Forum: General Coding Help - No Replies

Hello,

I'm not an expert in regards to coding but I've been coding for a bit and leverage that skillset in my day to day work.

Recently started lear..... More

Print this item

  Python3 - How to deny access to users without api key using localhost and postman
Posted by: Alan2023 - Feb-20-2023, 02:48 PM - Forum: Web Scraping & Web Development - No Replies

Hi everybody,
I am using python and Flask, and I need to deny access for not authorized users, users without an api key will not be allowed to access..... More

Print this item

  Merging multiple csv files with same X,Y,Z in each
Posted by: Auz_Pete - Feb-20-2023, 12:31 AM - Forum: General Coding Help - Replies (3)

As the name suggests, looking for help building a script to merge multiple csv files. Each file has; X, Y, Z and Value(W). I am wanting to match the x..... More

Print this item

  ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED]certificate verify fail
Posted by: byronbonkers - Feb-19-2023, 10:13 PM - Forum: Networking - No Replies

[python]
import time
import logging
import paho.mqtt.client as mqtt
from OpenSSL import SSL
import os
import ssl

log = logging.getLogger('Rem..... More

Print this item

  input variable choice
Posted by: MCL169 - Feb-19-2023, 06:54 PM - Forum: General Coding Help - Replies (7)

I'm using simple ideas and theories to practice coding. I'm simply trying to except a input from user that returns a variable string. I want the user ..... More

Print this item

  Windows 10: AttributeError: 'WM_PenProvider' object has no attribute 'hwnd'
Posted by: mikepy - Feb-19-2023, 03:47 PM - Forum: GUI - Replies (1)

Hello, when I execute my kivy program I get the following error message:
[quote]AttributeError: 'WM_PenProvider' object has no attribute 'hwnd'[/quote..... More

Print this item

  method call help
Posted by: sollarriiii - Feb-19-2023, 03:14 PM - Forum: General Coding Help - Replies (6)

bonjour,
Je reçois une résultat non qui j'attend, et je ne sais pas pourquoi ?
quand j'appel la méthode pricing_mac(self): de class HardwareGeek(E..... More

Print this item

  KEY input....
Posted by: ATARI_LIVE - Feb-19-2023, 01:47 PM - Forum: General Coding Help - Replies (5)

I am doing code to read a key is pressed.

The KEYBOARD module is works but it will read keys even I use another window-box which I do not want.

..... More

Print this item

  How to access text files, hidden behind 'm3u8' resources
Posted by: Pavel_47 - Feb-19-2023, 11:06 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello,

yt-dlp downloaded doesn't differentiate between 2 subtitles of the same languages: when specifying language code (e.g. 'fr') it takes by def..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 1 hour ago Alfredd Pedroski55 General Codin...
  Backward compatibility qu... Yesterday, 10:39 yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... 11-07, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578684
  Tutorial Requ... 509128
  Web Scraping ... 441840
  Newbie with P... 385793
  New Users Int... 375065
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
alexmaarley8855 Yesterday
Cristiano Yesterday
Alfredd Yesterday
clayote Yesterday
yutaozhou 11-07

User Panel Messages

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