Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating a platform independent GUI executable in python

i have an ex.py file written in python using tkinter .i want to create an executable which can run on any platform.not creating separate executable for each platform(Linux,windows,Mac).

like image 884
chandra kanth Chandra Avatar asked Mar 11 '26 12:03

chandra kanth Chandra


1 Answers

You cannot do this. This is partly why interpreted languages like python exist: you write a platform-agnostic program that can run on any platform (in python, tcl, ruby, groovy, javascript, etc), then run it with a platform-specific runtime.

like image 137
Bryan Oakley Avatar answered Mar 13 '26 01:03

Bryan Oakley