Create a directly-executable cross-platform GUI app using Python
First you will need some GUI library with Python bindings and then (if you want) some program that will convert your python scripts into standalone executables.
Cross-platform GUI libraries with Python bindings (Windows, Linux, Mac)
Of course, there are many, but the most popular that I've seen in wild are:
- Tkinter - based on Tk GUI toolkit (de-facto standard GUI library for python, free for commercial projects)
- WxPython - based on WxWidgets (popular, free for commercial projects)
- Qt using the PyQt bindings or Qt for Python. The former is not free for commercial projects. The latter is less mature, but can be used for free.
Complete list is at http://wiki.python.org/moin/GuiProgramming
Single executable (all platforms)
- PyInstaller - the most active(Could also be used with
PyQt
) - fbs - if you chose Qt above
Single executable (Windows)
- py2exe - used to be the most popular
Single executable (Linux)
- Freeze - works the same way like py2exe but targets Linux platform
Single executable (Mac)
- py2app - again, works like py2exe but targets Mac OS
Are there an GUI libraries for Python that allow you to compile to an EXE (windows) and APP(Mac)?
I think the answer here is less about the particular GUI toolkit and more about distributing stand-alone python applications. Personally, I've found the tools for this a little less perfect than I'd like but, after some finagling, they get the job done. The most likely candidate that'd fit your needs is cx_Freeze. Though there's a Windows specific py2exe and Mac specific py2app that might fill the bill if cx_Freeze is insufficient.
Best way to build a cross-platform and custom-skinned application with Python
I am the author of Hotot.
according to your requirements, the key for you to choose a framework is the UI framework should be able to access webview conveniently.
Hotot has several wrappers for different platforms. On Linux, we have both Qt and GTK version, on Windows, we provide a Qt version, on Mac, we have a Cocoa version, and of course we have a Chrome version. In a word, all they can easily access webkit.
PS: XULRunner is another good choice for native appearance.
make Python executable into app mac os catalina
Just placing a python executable into a folder with the .app extension doesn't make your python code a native app. Take a look at libraries that can build your python code into a native app - there are plenty and even more tutorials on how to use them, google around!
For macOS only apps py2app
will work, but for other cross-platform options, refer to this existing answer
Related Topics
Apply VS Transform on a Group Object
Compare Object Instances for Equality by Their Attributes
String Concatenation of Two Pandas Columns
Method Resolution Order (Mro) in New-Style Classes
How to Capitalize the First Letter of Each Word in a String
What Is the Purpose of "Pip Install --User ..."
What Does %S Mean in a Python Format String
What Does 'Weight' Do in Tkinter
Differencebetween a Function, an Unbound Method and a Bound Method
Using Pip Behind a Proxy with Cntlm
Install a Module Using Pip for Specific Python Version
Calculate Cosine Similarity Given 2 Sentence Strings
Unicodedecodeerror: 'Utf8' Codec Can't Decode Byte 0Xa5 in Position 0: Invalid Start Byte
How Would You Make a Comma-Separated String from a List of Strings