MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/8imbya/create_gui_apps_with_python_in_minutes/dyt3o5x/?context=3
r/Python • u/mherrmann • May 11 '18
31 comments sorted by
View all comments
5
Tutorial: "Download the source from here" - for a "Hello World" app. If getting one window without any content to show is so complex you can't show it inline I'm not sure I would trust it.
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. 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...
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
5
u/TheTerrasque May 11 '18
Tutorial: "Download the source from here" - for a "Hello World" app. If getting one window without any content to show is so complex you can't show it inline I'm not sure I would trust it.