简体   繁体   中英

creating a platform independent GUI executable in python

我有一个使用tkinter用python编写的ex.py文件。我想创建一个可以在任何平台上运行的可执行文件。不为每个平台(Linux,Windows,Mac)创建单独的可执行文件。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM