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,395
» Latest member: cruisesfares
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

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

Latest Threads
What age group is Saga fo...
Forum: News and Discussions
Last Post: cruisesfares
24 minutes ago
» Replies: 0
» Views: 8
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
1 hour ago
» Replies: 1
» Views: 4,568
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 4
» Views: 119
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
3 hours ago
» Replies: 7
» Views: 3,570
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 132
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 271
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,091
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,932
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 164
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 98

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

Shocked Django __init__() got an unexpected keyword argument 'any'
Posted by: ikurorox - Nov-26-2021, 04:08 PM - Forum: Web Scraping & Web Development - Replies (2)

I do not understand what happened to my application, I was trying to obtain the detail of a user with email field, now I can't list the users that I h..... More


Attached Files

Thumbnail(s)
           
Print this item

  Execute "AT" command in Python
Posted by: Pavel_47 - Nov-26-2021, 04:04 PM - Forum: Networking - Replies (3)

Hello,
To check ICCID value of a modem 4G, I execute AT command in a terminal (e.g. picocom): AT+QCCID.
Is it possible to do the same in Pyth..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  What age group is Saga fo... 24 minutes ago cruisesfares cruisesfares News and Disc...
  Struggles I Faced While E... 1 hour ago baffa_dbt padma121 Code Review
  Willing to pay for help w... 2 hours ago braillescribe noisefloor General Codin...
  Create dataframe from the... 3 hours ago Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 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 ...
Most views
  The best Prog... 580395
  Tutorial Requ... 519368
  Web Scraping ... 442776
  Newbie with P... 386973
  New Users Int... 386426
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
cruisesfares Today
braillescribe Yesterday
aurelio12282025 Yesterday
bejaminmaarleyo1374 Yesterday
taylorlitleoz476 Yesterday

User Panel Messages

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