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,935
» Latest member: Diyaseating
» Forum threads: 38,722
» Forum posts: 175,507

Full Statistics

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

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
55 minutes ago
» Replies: 4
» Views: 435
Why Do Students Prefer As...
Forum: News and Discussions
Last Post: tobey12
1 hour ago
» Replies: 0
» Views: 7
set -x shell equivalent o...
Forum: General Coding Help
Last Post: pbo75715
2 hours ago
» Replies: 2
» Views: 941
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Sep-17-2025, 05:56 PM
» Replies: 9
» Views: 3,466
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 1,862
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 808
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,052
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,097
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,158
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 724

 
  Process the image on the Python HTTP server
Posted by: Aleks - Dec-02-2021, 11:43 PM - Forum: General Coding Help - No Replies

Python 3.9. Local http.server 127.0.0.1:9001. I need to take an image, then save it to disk. The program that sends the image sends it with a POST req..... More

Print this item

  Regex format issue?
Posted by: bontwoody - Dec-01-2021, 08:27 PM - Forum: Data Science - Replies (3)

Hi

Im trying to do a regex search on an sqlite database where the expressions are held in a list. I have the connection working as shown by the fir..... More


Attached Files

.py   Forumpost.py (Size: 706 bytes / Downloads: 2)
Print this item

  Unknown Error with Random Stat Assigner
Posted by: FC8 - Dec-01-2021, 05:29 PM - Forum: General Coding Help - Replies (6)

So, essentially, I am trying to make a simple program in python 3 (using CodeHS, if that matters) for a theoretical RPG concept. Basically, it is supp..... More

Print this item

  Matplotlib - close multple plots with user input
Posted by: Positron79 - Dec-01-2021, 05:26 PM - Forum: General Coding Help - No Replies

Hi,

I have a script that is reading CSV files. Plots 9 graphs at once. I would like for the user to press enter so that all plots close at once. IT..... More

Print this item

  My code won't say Player wins or computer wins. No errors.
Posted by: its_a_meLuigi64 - Dec-01-2021, 04:32 PM - Forum: General Coding Help - Replies (2)

[python]#!/bin/python3

from random import randint

player = input('Paper(p), Scissors(s), or Rock®.')

print(player, 'vs', end= ' ')
chosen ..... More

Print this item

  for loop in dataframe in pandas
Posted by: Paulman - Dec-01-2021, 02:35 PM - Forum: General Coding Help - Replies (7)

Hello,

I have a problem with a "for loop" using a dataframe in pandas, hope somebody can help with that.

I have the following dataframe in a csv..... More

Print this item

  Pyspark - my code works but I want to make it better
Posted by: Kevin - Nov-30-2021, 11:59 PM - Forum: General Coding Help - Replies (1)

please delete this post char limit

Print this item

  xlsx
Posted by: FMA - Nov-30-2021, 09:54 PM - Forum: General Coding Help - Replies (1)

Hi,

I've got a problem and i need some help.
I just want to manipulate an xlsx file with Python (see PJ), like
if cells.value(2,2) == cells.val..... More


Attached Files

.xlsx   Document_excel_2.xlsx (Size: 8.7 KB / Downloads: 337)
Print this item

  explosion-animation
Posted by: hespa - Nov-30-2021, 07:07 PM - Forum: Game Development - Replies (5)

Dear forum members,
I have worked through the pygame tutorial by metulburr (without
state maschines) and now wanted to add a nice explosion to the l..... More

Print this item

  combine tables
Posted by: joelsmit - Nov-30-2021, 05:35 PM - Forum: General Coding Help - Replies (1)

I need your help in creating a table; I have 2 tables that show an average of 5 minutes, one of throughput and another of # of IOPS (operations per se..... More

Print this item

  Python Discrepancy
Posted by: murtuza - Nov-30-2021, 05:32 PM - Forum: Data Science - No Replies

Hi I am Working in Company where i have data in Mongodb database and every month our credit team provide me the disbursement file so i have to write a..... More

Print this item

  Get the Client-Side TLS ?
Posted by: JohnnyCoffee - Nov-30-2021, 04:10 PM - Forum: General Coding Help - Replies (1)

Does anyone know how I can capture the client’s TLS using the ssl module, because I need to be able to negotiate the TLS version to be used in an SSL ..... More

Print this item

  Need a little help with numpy array magic.
Posted by: pmf71 - Nov-30-2021, 03:55 PM - Forum: General Coding Help - No Replies

Hello friends,

I am struggling with an array. It's a simple array containing rgb bitmap information, as retrieved via the opencv 2 imread method. Its..... More

Print this item

  IMAGE URL
Posted by: satyanarayana - Nov-30-2021, 11:43 AM - Forum: General Coding Help - Replies (6)

Hi friends,

"D:/Satya_Projects_Onedrive/Epigon_Projects/BILVA_Projects/waveform.png"

I have local image file with path as shown above . I hav..... More

Print this item

  re.search Q
Posted by: ebolisa - Nov-30-2021, 11:12 AM - Forum: General Coding Help - Replies (12)

Hi,

I'm trying to extract info from a web form (request) but I get the error shown below.
I know group() exists so, I cannot understand the error...... More

Print this item

  Use one list as search key for another list with sublist of list
Posted by: jc4d - Nov-30-2021, 08:45 AM - Forum: General Coding Help - Replies (4)

Hello,

I have two lists that returns some vector values with it's own name:
list1 = [['orange', [1, 2, 3]]]
list2 = [['apple', [1,..... More

Print this item

  'no module named' when creating packages
Posted by: mbastida - Nov-30-2021, 08:26 AM - Forum: General Coding Help - Replies (4)

Hi, I have a Python Script that I'm attempting to convert into a package to be uploaded to PyPI.

gateway-software/
┣ gateway/
┃ ┣ GPSTrack.py
..... More

Print this item

  Creating a python exe (win) to run on Mac
Posted by: plumberpy - Nov-30-2021, 07:28 AM - Forum: General Coding Help - Replies (3)

I created an exe using pyinstaller but my friend cannot run it on his mac.

A. Any tricks I can use to run that exe on a mac?

B. How to compile a..... More

Print this item

  Optimization using scipy.optimize
Posted by: KaneBilliot - Nov-30-2021, 04:59 AM - Forum: General Coding Help - Replies (3)

The original problem is as follows:
I have a line function that depends on two values (let's call them a and b) that I am using to fit 3 points. Note..... More

Print this item

  a couple of big project i am making plans for
Posted by: Skaperen - Nov-30-2021, 02:08 AM - Forum: News and Discussions - No Replies

actually there are 2 closely related projects.

number 1 is an optical character finder mechanism. it would scam the image of a page to detect wher..... More

Print this item

  Variable scope issue
Posted by: melvin13 - Nov-29-2021, 08:17 PM - Forum: General Coding Help - Replies (2)

Hello,
here's a simplified version of what's causing me trouble :
[python]
x = int

def init(): #
x = 0
return

def f():
x += ..... More

Print this item

Question data enterred through gui is not storing in sqlite3 database
Posted by: Hilal - Nov-29-2021, 07:31 PM - Forum: GUI - Replies (21)

Please help me with my code.
Here is my code. And below this code, the database file is attached.
[python]import sqlite3

from tkinter import * ..... More

Print this item

  handle the error
Posted by: Irv1n - Nov-29-2021, 06:20 PM - Forum: General Coding Help - Replies (5)

I communicate with device and receive data with this function:
[python]
def get_dcv(self):
self.connector.send('DCV?')
return float(self.c..... More

Print this item

  xml
Posted by: FMA - Nov-29-2021, 12:28 PM - Forum: General Coding Help - Replies (1)

Hello everyone,

i'm new to python and i need some help:
I have an xml file:
<Parameter>
<MasterID>1498</MasterID>
<ObjectIDUnique>{C58FB9..... More

Print this item

  creating python server and client in a pc
Posted by: kucingkembar - Nov-29-2021, 04:43 AM - Forum: General Coding Help - Replies (4)

hi, sorry for my bad English,
this is my first post, so sorry if I have mistakes,

currently, I using dl-translate packages to bulk translate all ..... More

Print this item

  unreachable code
Posted by: Skaperen - Nov-29-2021, 02:01 AM - Forum: News and Discussions - Replies (2)

who thinks Python should warn newbies about unreachable code such as code at the same indent that follows a return or continue?

Print this item

  how to destruct a hashlib object?
Posted by: Skaperen - Nov-29-2021, 12:12 AM - Forum: News and Discussions - Replies (2)

how is it intended to destruct a hashlib object when done with it?

1. object.destruct() with whatever method intended
2, ..... More

Print this item

  clearing a hashlib object
Posted by: Skaperen - Nov-28-2021, 07:54 PM - Forum: News and Discussions - No Replies

is there a way to clear/reset a hash object (from hashlib.sha256() for example) so it can be reused for the next bunch of data? i had this capability..... More

Print this item

  what is missing in my while statement ?
Posted by: BPMGUP - Nov-28-2021, 02:08 AM - Forum: General Coding Help - Replies (3)

Hello friends, I'm new here.
I am still a beginner but I am quite familiar with loops and while statement and have used it many times.

I'm trying ..... More

Print this item

  Problem with input after function
Posted by: luilong - Nov-27-2021, 08:05 PM - Forum: General Coding Help - Replies (10)

Good evening to everyone,
I've been learning Python for a few months and i'm experiencing a trouble that seriously
I'm not able to understand, so i ho..... More

Print this item

  Preparing an Installation with Python
Posted by: JgKSuperstar - Nov-27-2021, 01:08 PM - Forum: News and Discussions - Replies (2)

Hi, I want to create a project in python and I want to make money from this project I am creating. The question I'm going to ask is; I don't want the ..... More

Print this item

  How to create subset in python?
Posted by: Bhavika - Nov-27-2021, 09:30 AM - Forum: General Coding Help - Replies (5)

Hi, I have a query about how to create a list of subsets from a given list. I tried doing it but I couldn't get the correct output.
For example, if t..... More

Print this item

  trying to put a a filter on identifying a straight
Posted by: CompleteNewb - Nov-26-2021, 09:44 PM - Forum: General Coding Help - Replies (1)

I have written this code to identify possible straights in a serie of numbers. It works find thanks to the help of the people in this forum, but now I..... More

Print this item

  Programming as a not so smart guy
Posted by: Jan_97 - Nov-26-2021, 08:51 PM - Forum: Bar - Replies (1)

I've always had the impression that programming for the most part is a "Smart guy thing" that has and is generally reserved for the more intellectuall..... More

Print this item

  GUI Advice - What software to use
Posted by: Extra - Nov-26-2021, 07:42 PM - Forum: GUI - Replies (2)

Hello,

I'm working on a personal project and I want to create a G.U.I that I can display/print text outputs and I can input text to.

This is the i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 55 minutes ago Alexandros Alexandros General Codin...
  Why Do Students Prefer As... 1 hour ago tobey12 tobey12 News and Disc...
  set -x shell equivalent o... 2 hours ago ggpf900 pbo75715 General Codin...
  403 Error 09-17, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576165
  Tutorial Requ... 497761
  Web Scraping ... 440108
  Newbie with P... 383925
  New Users Int... 366528
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+ 12089
buran 8174
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Diyaseating Today
pbo75715 Today
marineoman Today
marineservice Today
bennyanderson482 Yesterday

User Panel Messages

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