Create a directly-executable cross-platform GUI app using Python

前端 未结 12 2305
予麋鹿
予麋鹿 2020-11-22 10:52

Python works on multiple platforms and can be used for desktop and web applications, thus I conclude that there is some way to compile it into an executable for Mac, Windows

12条回答
  •  眼角桃花
    2020-11-22 11:37

    Since python is installed on nearly every non-Windows OS by default now, the only thing you really need to make sure of is that all of the non-standard libraries you use are installed.

    Having said that, it is possible to build executables that include the python interpreter, and any libraries you use. This is likely to create a large executable, however.

    MacOS X even includes support in the Xcode IDE for creating full standalone GUI apps. These can be run by any user running OS X.

提交回复
热议问题