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 58 online users.
» 0 Member(s) | 53 Guest(s)
Bing, Google, AOL, Apple

Latest Threads
New to python and coding
Forum: Homework
Last Post: Larz60+
10 hours ago
» Replies: 1
» Views: 53
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
11 hours ago
» Replies: 11
» Views: 262
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 3
» Views: 105
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Today, 05:07 AM
» Replies: 5
» Views: 232
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:37 AM
» Replies: 1
» Views: 92
Data Science
Forum: Data Science
Last Post: mamta25
Yesterday, 05:27 AM
» Replies: 3
» Views: 2,601
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 189
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 172
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,892
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,409

 
  Game "Fluppy bird"
Posted by: nastia_nadashkevich - Apr-19-2024, 04:12 PM - Forum: Game Development - Replies (1)

The problem is that after the bird loses one life, as well as after restarting the game, the pipes do not disappear, so the bird remains in the same p..... More

Print this item

  How does this code create a class?
Posted by: Pedroski55 - Apr-19-2024, 10:56 AM - Forum: General Coding Help - Replies (6)

I don't understand classes in Python!

Why do I get a class like this, without declaring a class??

[python]Employee = type("Employee", (object,),..... More

Print this item

  yield from
Posted by: akbarza - Apr-19-2024, 07:55 AM - Forum: General Coding Help - Replies (4)

hi
in the below code, what is doing yield from? please explain:

[python]#yield_from.py
# from:https://treyhunner.com/2018/04/keyword-argum..... More

Print this item

  questions about dict.get
Posted by: akbarza - Apr-19-2024, 06:21 AM - Forum: General Coding Help - Replies (2)

hi
in the below code:
[python]
#dict_get.py
print(help(dict.get))
'''
Help on method_descriptor:

get(self, key, default=None, /)
Return..... More

Print this item

  convert to bin problem
Posted by: kucingkembar - Apr-19-2024, 02:50 AM - Forum: General Coding Help - Replies (3)

hi, sorry for my bad english,
i tried to create phash compare using "VideoHash"

[python]
#pip install videohash
from videohash import VideoHash..... More

Print this item

  measure diameter of complex structure
Posted by: alminnawi - Apr-18-2024, 10:20 AM - Forum: General Coding Help - No Replies

Hi all,

I have a few complex geometries but for the sake of simplicity lets assume they are random branches of trees (no trunk or leaves) and the b..... More

Print this item

  Cloud computing advice needed
Posted by: sawtooth500 - Apr-17-2024, 07:31 PM - Forum: Data Science - Replies (3)

I'm doing stock backtesting using Python - and I've pretty much maxed the computational abilities of my local machines. So I'm looking for some cloud ..... More

Print this item

  Help with writing monitored data to mysql upon change of one particular variable
Posted by: donottrackmymetadata - Apr-16-2024, 11:28 PM - Forum: General Coding Help - Replies (3)

I am trying to monitor a set of variables which record a product recipe batch and record the final values (or very close to the final values) and writ..... More

Print this item

  Reduce PDF Size
Posted by: bg3075 - Apr-16-2024, 05:21 PM - Forum: Code sharing - No Replies

This code prompts the user for an input & output path/filename, and compresses the original PDF. This is a huge asset when working with PDF images tha..... More

Print this item

  python packaging/ hosted in IIS server
Posted by: manjureka - Apr-16-2024, 10:43 AM - Forum: Web Scraping & Web Development - No Replies

I have developed a website using python Flask which is hosted on IIS and accessible to my team. My question is for security reasons how to package the..... More

Print this item

  Adding a sub menu to a ttk.OptionMrnue ?
Posted by: Robo - Apr-16-2024, 10:31 AM - Forum: GUI - Replies (5)

Hi all,

Can somebody tell me how to add a sub menu to python's ttk.OptionMenu I've created a drop down menu.
but I am unable to fined how to add a..... More

Print this item

  python calculate float plus float is incorrect?
Posted by: sirocawa - Apr-16-2024, 08:06 AM - Forum: General Coding Help - Replies (6)

hi everybody

maybe , try print(27.56+13.78)

I use 3.10.12 and 3.12, get result is 41.339999999999996.
what happend?

Print this item

  Need to get around SSL: CERTIFICATE_VERIFY_FAILED
Posted by: sawtooth500 - Apr-15-2024, 11:18 PM - Forum: General Coding Help - Replies (4)

I'm trying to connect to the API at polygon.io to download historical stock trades data - the below is sample API code provided from polygon.io so it ..... More

Print this item

  Hide CMD call window
Posted by: tester_V - Apr-15-2024, 07:45 PM - Forum: General Coding Help - Replies (8)

Greetings!
Running my script every hour on a windows machine.
The script has a “arp-a” cmd call and a window pops up that is very annoying **angry..... More

Print this item

  Rich output to PDF
Posted by: HEbO61 - Apr-15-2024, 02:26 PM - Forum: General Coding Help - Replies (1)

Is it possible to create an PDF based on Rich output?

Or is there another solution/package in Python to create a PDF with RTF?

Print this item

  Making the tab key work like a tab key
Posted by: jackg - Apr-15-2024, 01:29 PM - Forum: General Coding Help - Replies (3)

Folks,

Is there a way to make the tab key (on the keyboard) work like a tab key? I like to use it to tab over 8 spaces or so per key-hit to align m..... More

Print this item

  Dynamically plotting graphs with matplotlib
Posted by: CAD79 - Apr-15-2024, 10:46 AM - Forum: Data Science - Replies (11)

I'm trying to create an application that formats data from a data logger that I have coded using an Arduino. I have the code finished and the output d..... More

Print this item

  Cubic spline Graph Interpretation how?
Posted by: GREEN369 - Apr-15-2024, 06:51 AM - Forum: Data Science - Replies (1)

Hi Friends,

i am new to python i want to calculate the r2 value for the cubic spline graph and how the results are intercepted from the graph based..... More


Attached Files

Thumbnail(s)
   
Print this item

  library for C but written in Python
Posted by: Skaperen - Apr-15-2024, 02:47 AM - Forum: News and Discussions - Replies (1)

has anyone here ever created a library for C but written in Python? i assume the hardest part is the arguments and their types. is there any particu..... More

Print this item

  Just beginning
Posted by: dalekeel - Apr-15-2024, 01:22 AM - Forum: General Coding Help - Replies (2)

I have downloaded and installed python wins from Microsoft v 3.12.3 using default installation.

I got these three files: the first gen_metadata.py ..... More

Print this item

  Sending a text from Python
Posted by: sawtooth500 - Apr-14-2024, 03:43 AM - Forum: General Coding Help - Replies (2)

My cell phone is on the U.S. carrier Verizon - and I can send a text to myself by emailing XXXYYYZZZZ@vtext.com, where the letters are the placeholder..... More

Print this item

Question Custom importer and errors
Posted by: Fips - Apr-13-2024, 10:10 PM - Forum: General Coding Help - Replies (6)

Hi folks!

I'd like to split my package tree into several IDE projects and build a custom importer to import
'top.child1.child2'
from the director..... More

Print this item

  Seeking advice on dask distributed
Posted by: sawtooth500 - Apr-13-2024, 09:36 PM - Forum: General Coding Help - Replies (4)

I am using python to do stock backtesting for day trading.

I have a function called process_date(datedf), this is passed a pandas dataframe.

T..... More

Print this item

  integrating plot to box
Posted by: zapad - Apr-13-2024, 01:57 PM - Forum: GUI - Replies (5)

Good morning
I am meeting a problem in integrating a matplotlib graph into a tkinter gui:
The program works ok ,but it only appears in the shell co..... More

Print this item

  Django
Posted by: Sowmya - Apr-13-2024, 01:43 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi all
I am doing a multiplication tables quiz project in Django. Everything will correct . But the only issue is at quiz I did not get entered value..... More

Print this item

  I'm trying to visualize neuron weights with PIL but getting a white image.
Posted by: pointdexter16 - Apr-13-2024, 12:32 PM - Forum: GUI - Replies (1)

[python]
from PIL import Image
import copy
import numpy as np
import pickle
#-------Sample--------------------------------------(THIS WORKS)
# v..... More

Print this item

  Recommend a self-developed IDE to help Tinter developers
Posted by: Honghaier - Apr-13-2024, 09:00 AM - Forum: GUI - Replies (1)

Big Grin Guys, I have developed an IDE called PyMe, which can help developers easily create projects, design interfaces through drag and drop opera..... More

Print this item

  Cython, Pandas, and Chained Assignment
Posted by: sawtooth500 - Apr-12-2024, 09:32 PM - Forum: General Coding Help - Replies (4)

So have a script called backtest.pyx. Script works fine with no errors/warnings.

Now I compliled the entire script using cython and I have the pyd ..... More

Print this item

  very newbie problem on text file
Posted by: zapad - Apr-12-2024, 06:10 PM - Forum: General Coding Help - Replies (2)

hello
I am a very beginner in python (2 months) and I am trying co complete a script that seems
very simple even for a beguinner , but I am giving..... More

Print this item

  wrong entries in sqlite database and tkinter
Posted by: epsilondatum - Apr-12-2024, 05:37 PM - Forum: General Coding Help - Replies (2)

hello all...first time here,need some advice please!
my case: when i add a new product in my program,its values go to customers fields,not in the pro..... More

Print this item

  replacement for fpformat.extract
Posted by: GbSig1998 - Apr-12-2024, 01:41 PM - Forum: General Coding Help - Replies (4)

I have some python 2.7 code that I need to update to 3.10. The code used fpformat.extract() to determine the following:

Python 2.7 Code
[python] ..... More

Print this item

  Fixture not returning webdriver element
Posted by: Nik1811 - Apr-12-2024, 11:02 AM - Forum: General Coding Help - Replies (1)

Hi,
I've added a new fixture to return webdriver and access it within my 'Login' method. I'm receiving the below error as webdriver is not returned,..... More

Print this item

  Open files in an existing window instead of new
Posted by: Kostov - Apr-12-2024, 09:57 AM - Forum: General Coding Help - Replies (2)

OS: Linux Mint 21.3
Python version: 3

I’m transcribing .mp3 audio files. To make the job easier, I’ve bound the following script in ..... More

Print this item

  looking for feedback
Posted by: Luckyoz - Apr-12-2024, 07:57 AM - Forum: Homework - Replies (4)

Note : its my first program in python (i used to script for roblox games in lua)

[python]
menu = {}
menu["sandwich"] = 20;
menu["burger"] = 25;..... More

Print this item

  Very Beginner question on simple variables
Posted by: Harvy - Apr-11-2024, 10:47 PM - Forum: General Coding Help - Replies (1)

is this even possible and if so how.

var1 = 123
var2 = 345
var3 = 678
i = 2
print (var.i)

output would be 345

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 10 hours ago lary_p Larz60+ Homework
  [Tkinter] I’m building a ... 11 hours ago tsgiannis tsgiannis GUI
  Help with Serial.write in... 11 hours ago racingsubby Larz60+ General Codin...
  Backward compatibility qu... Today, 05:07 yutaozhou Gribouillis News and Disc...
  [split] print two differe... Yesterday, 05:37 Reema Gribouillis General Codin...
  Data Science Yesterday, 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... 578800
  Tutorial Requ... 509750
  Web Scraping ... 441906
  Newbie with P... 385898
  New Users Int... 375892
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
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Kacper Today
isla123456 Today
vibrometro Today
thebigback Yesterday
dimitriwati Yesterday

User Panel Messages

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