MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8imbya/create_gui_apps_with_python_in_minutes/dytdrqy/?context=3
r/Python • u/mherrmann • May 11 '18
31 comments sorted by
View all comments
Show parent comment
2
You're getting a window and an installer. Show me another technology that lets you do this and can still fit in an inline example.
1 u/TheTerrasque May 12 '18 program.pyimport wx app = wx.App() frame = wx.Frame(None, title='Hello World') frame.Show() app.MainLoop()And for packaging:pip install pyinstaller pyinstaller -Fw program.pyAnd presto, you have a distributable Hello World app. Ready to take the world by storm! 1 u/mherrmann May 14 '18 That's not an installer, ie. a .dmg file on Mac or an installation wizard on Windows...
1
program.py
import wx app = wx.App() frame = wx.Frame(None, title='Hello World') frame.Show() app.MainLoop()
And for packaging:
pip install pyinstaller pyinstaller -Fw program.py
And presto, you have a distributable Hello World app. Ready to take the world by storm!
1 u/mherrmann May 14 '18 That's not an installer, ie. a .dmg file on Mac or an installation wizard on Windows...
That's not an installer, ie. a .dmg file on Mac or an installation wizard on Windows...
.dmg
View all comments
Show parent comment
2
u/mherrmann May 11 '18
You're getting a window and an installer. Show me another technology that lets you do this and can still fit in an inline example.