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,247
» Latest member: Kacper
» Forum threads: 38,779
» Forum posts: 175,813

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 36 Guest(s)
Bing, mamta25

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
Yesterday, 10:18 AM
» Replies: 1
» Views: 61
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 273
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 09:41 AM
» Replies: 3
» Views: 118
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 253
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 97
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,609
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 198
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 179
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,004
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,416

 
  Tkinter multiple windows in the same window
Posted by: hosierycouch - May-30-2024, 02:20 AM - Forum: GUI - Replies (1)

Hello everyone,

I am trying to develop an application in Tkinter that have one main screen and 4 sub-screens inside the main screen. I want to cont..... More

Print this item

  Can my crafting system improve?
Posted by: XavierPlatinum - May-29-2024, 09:51 PM - Forum: Game Development - No Replies

Hello all! It works! lol

I've been working on making a efficient, logical crafting system. It seems pretty lean to me, but I would like to get so..... More

Print this item

  Cant install Ethereum 2.3.2
Posted by: Rubenvdw - May-29-2024, 07:43 PM - Forum: General Coding Help - Replies (1)

Hi all,

Iam new to programming and Iam trying to install ethereum 2.3.2 with pip install ethereum.
I get this error:

ERROR: Command errored..... More

Print this item

  python escaping character
Posted by: atom509 - May-29-2024, 07:39 PM - Forum: General Coding Help - Replies (1)

Hi guys,

How can i escape the special character from this sql . it is store as string

SELECT REGEXP_SUBSTR(SYS_CONNECT_BY_PATH(nom, '\'), '[^\..... More

Print this item

  initializing interactive mode
Posted by: Skaperen - May-29-2024, 07:20 PM - Forum: News and Discussions - Replies (4)

i recall reading that interactive mode could be initialized with either a command line option or the file .init.py instead. i tried the latter but it..... More

Print this item

  Media Pipe Python Interfacing with MATLAB
Posted by: cmcreecc - May-29-2024, 03:42 PM - Forum: General Coding Help - Replies (1)

Hi, so I've done some research and I've found that MATLAB can interface with Python in a pretty straightforward manner, but I'm running into an issue...... More

Print this item

  Issues with MySql Connection
Posted by: EMG2024 - May-29-2024, 12:33 PM - Forum: General Coding Help - Replies (2)

[python]import mysql.connector

mydb = mysql.connector.connect(
host="localhost",
user="EMG",
password="JAMESPaige@63"
)

print("C..... More

Print this item

  python code to calculate mean of an array of numbers using numpy
Posted by: viren - May-29-2024, 12:19 PM - Forum: General Coding Help - Replies (3)

Kindly advise with the correct python code to get the mean of an array of numbers using numpy method.

The data variable is an array with randomly-g..... More

Print this item

  how to capitalize letter in list object Python
Posted by: iwonkawa - May-29-2024, 10:17 AM - Forum: General Coding Help - Replies (4)

Could you please kindly help me how to capitalize list object from the dictionary ?

[python]shopping_dict = {
'bakery':['bread', 'doughnut', '..... More

Print this item

  making a form purely with flask-wtf
Posted by: robertkwild - May-29-2024, 08:53 AM - Forum: General Coding Help - Replies (15)

hi all,

i want to design a web form using purely using flask-wtf only, i dont want to use HTML

i want to use labels, text boxes, password fields..... More

Print this item

  a function name dunder
Posted by: Skaperen - May-29-2024, 04:15 AM - Forum: General Coding Help - Replies (3)

for a function there is a name it is initially defined as in the def statement and the name it is called as in which would be different if the ..... More

Print this item

  Which method name would you choose?
Posted by: Gribouillis - May-28-2024, 09:01 PM - Forum: General Coding Help - Replies (7)

I currently have this syntax

preamble, content = mediator.read()
Here, mediator is an instance of a Mediator class, which you can v..... More

Print this item

  My_first_Calendar
Posted by: Finally_Laura - May-28-2024, 06:17 PM - Forum: General Coding Help - Replies (1)

Hola soy muy nueva en Python, estoy intentando crear un calendario con este código.

[python]from tkinter import *
from tkcalendar import *

root..... More

Print this item

  Full Breakout Game With Python
Posted by: fadmo - May-28-2024, 02:23 PM - Forum: Code sharing - Replies (2)

Full Breakout Game With Python including complete code and full explanations.

https://codingwithfad.com/create-a-break...-python-3/

En..... More

Print this item

  Passing web form to powershell
Posted by: robertkwild - May-28-2024, 02:18 PM - Forum: General Coding Help - Replies (1)

hi all,

im going to design a simple tkinter/web form for people to enter there username/old password/new password in a text box and when they click..... More

Print this item

  Install python 2.7 in jupyter lab
Posted by: raman - May-28-2024, 12:08 PM - Forum: General Coding Help - Replies (28)

Hi, i want to use python 2.7 but i don't know how to add it in jupyterlab. https://forum.manjaro.org/t/add-python2-...b/162569/1

Can i u..... More

Print this item

  Exceeding the value - turn on the relay.
Posted by: stsxbel - May-27-2024, 07:17 PM - Forum: General Coding Help - No Replies

Good afternoon, I can’t figure out how to write the code. We read the value from the database, if it exceeds, say, 2000, then we turn on the relay via..... More

Print this item

  Free Online IDE / Interpreter
Posted by: Jameyson72 - May-27-2024, 04:26 PM - Forum: General Coding Help - Replies (3)

I'm trying to get into game development, but for some reason I am unable to install pygame or any of its dependencies on my Chromebook, despite having..... More

Print this item

  How to integrate this function in python symbolically
Posted by: Safinazsalem - May-27-2024, 12:11 PM - Forum: Homework - No Replies

I use the following code to symbolically triple integrate a function f(t1,t2,m) , but it gives an error :



[python]This can happen when it's n..... More

Print this item

  How to integrate a discontinuous function by tplquad or nquad
Posted by: Safinazsalem - May-27-2024, 09:31 AM - Forum: Homework - Replies (2)

I try to triple integrate the following function but it gives many errors:



[python]IntegrationWarning: The integral is probably divergent, or s..... More

Print this item

  which namespace?
Posted by: Skaperen - May-27-2024, 04:03 AM - Forum: General Coding Help - Replies (4)

when i import function foo() from a module with 2 functions, foo() and bar():

from mymodule import foo
and foo() needs to c..... More

Print this item

  [closed] check whether an integer is 32 or 64 bits
Posted by: paul18fr - May-26-2024, 09:16 PM - Forum: General Coding Help - Replies (4)

Hi,

A basic question: how to check if the variable t1 is wheter a 32 bits integer or 64 one? Natively I've been thinking its a 32 bits but I've not..... More

Print this item

  Rotate with just one line
Posted by: MasterIphone - May-26-2024, 03:30 PM - Forum: GUI - Replies (5)

I'm not completely new to Python, but I'm faced with a difficult problem for me.
Previously I wrote parsers and file converters.
Now I need to work ..... More

Print this item

Shocked Script get's really weird error
Posted by: DaJohn - May-25-2024, 06:47 PM - Forum: General Coding Help - Replies (7)

Hello,
I am trying to write a Python script to ask the user for a recipe. The script should look up the ingredients needed for the recipe via OpenAI..... More

Print this item

  end boss aiming at player
Posted by: flash77 - May-25-2024, 06:06 PM - Forum: Game Development - Replies (7)

Hi,

I managed in my game that the end boss is aiming at the actual player's position with his gun.

I have a question about my class "EndBossGun(..... More


Attached Files

Thumbnail(s)
   
Print this item

  I am getting this TypeError: 'TreasureMap' object is not subscriptable.
Posted by: makilakos - May-25-2024, 09:36 AM - Forum: General Coding Help - Replies (2)

Thank you in advance
I am getting this TypeError: 'TreasureMap' object is not subscriptable.

This is my code
[python]i = 0
k = 0

class Treas..... More

Print this item

  is this really a syntax error?
Posted by: Skaperen - May-24-2024, 10:46 PM - Forum: General Coding Help - Replies (4)

if i run this from a file it works as expected. if i type the same code into interactive python, i get a syntax error. which is the mistake? is thi..... More

Print this item

  reading pdfs
Posted by: DPaul - May-24-2024, 05:21 PM - Forum: Bar - Replies (2)

I often get handed pdfs generated with an app like excel, or word.
If there are gridlines , separating rows and columns, these pdfs can be "OCR"red..... More

Print this item

  web scraping IMDb database
Posted by: guidoguidi - May-24-2024, 04:42 PM - Forum: Data Science - Replies (2)

I am trying to extract information from an IMDb webpage. In particular the names and the description of the 50 actors.
This is my code and the error t..... More

Print this item

  How to capture the result set from a stored procedure?
Posted by: dee - May-24-2024, 04:07 PM - Forum: General Coding Help - Replies (5)

Hello,
When I ran the following code, it got the message "No results. Previous SQL was not a query." How do I get the dataset returned from the stor..... More

Print this item

  how can I organise my code : best practice?
Posted by: pythonbum - May-24-2024, 03:17 PM - Forum: General Coding Help - No Replies

Hello
I have a long script I want to simplfy
Right now, i have main.py file which call lots of functions.
all my functions are defined in a [b]helper...... More

Print this item

  speed up getting embedding from bert model for large set of text
Posted by: veda - May-24-2024, 10:05 AM - Forum: General Coding Help - Replies (7)

Hi python experts,

I tried to get embedding from pre-trained language model with the function listed below. However, it took forever to execute if ..... More

Print this item

  what to return for an empty list
Posted by: Skaperen - May-24-2024, 03:37 AM - Forum: General Coding Help - Replies (2)

i have a function to test if multiple items all meet a certain condition. another function is to test if multiple items all fail to mee..... More

Print this item

  Unbalance Dataset - prediction model
Posted by: AlainProvist - May-24-2024, 12:06 AM - Forum: Data Science - No Replies

Hey everyone.

I am working on personal project that can change the face of the restaurant industry.

Let’s make it simple. Dataset of 63k rows, 7..... More


Attached Files

Thumbnail(s)
   
Print this item

  Look over this code
Posted by: dknobby7 - May-23-2024, 11:27 PM - Forum: General Coding Help - Replies (1)

Hey guys would anyone be able to look over this for a buddy of mine and see why this is not working. I’m not familiar with really any python.

From ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding Yesterday, 10:18 lary_p Larz60+ Homework
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Help with Serial.write in... Yesterday, 09:41 racingsubby Larz60+ General Codin...
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [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
Most views
  The best Prog... 578816
  Tutorial Requ... 509815
  Web Scraping ... 441914
  Newbie with P... 385908
  New Users Int... 376004
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10
dimitriwati 11-10

User Panel Messages

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