+ 1

The Python course did not include GUI? how does simple GUI work?

GUI for Python

27th Mar 2017, 8:07 PM
SAMI Awad
SAMI Awad - avatar
6 Respuestas
+ 11
Python runs on their server so a GUI isn't really practical. It's also why input isn't strictly interactive. People often use TkInter since it's bundled; here's a list for others: https://wiki.python.org/moin/GuiProgramming To tell you how it works...I'd have to post something you could try offline; but the packages at the link I kindof expect to have demo shots.
27th Mar 2017, 8:18 PM
Kirk Schafer
Kirk Schafer - avatar
+ 9
One of the courses on coursera.org uses CodeSkulptor as an online Python interpreter. It has an imported simplegui module inside. Check out what can be achieved there and how: Pong: http://bit.ly/2eSbaFT Memory: http://bit.ly/2gn4QZP BlackJack: http://bit.ly/2icsbcv
27th Mar 2017, 8:42 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 9
I took a shot at building Kivy* but my system's missing a dependency. Here, apparently you can download Kivy Launcher, install, and then just run sample Python scripts from the second link: https://kivy.org/docs/guide/packaging-android.html https://github.com/kivy/kivy/wiki#mobiles It looks kind to beginners, with a guide for Android deployment here: https://kivy.org/docs/guide/android.html * I'd have to uninstall several essential apps to install the Launcher so I hope the links help.
27th Mar 2017, 11:17 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
TKinter is ok, but it feels forced. if your goal is GUI applications, Try java. Python is great for utility and backend stuff. not so much front end
27th Mar 2017, 9:45 PM
LordHill
LordHill - avatar
0
OK thank you Please do post an example
27th Mar 2017, 8:34 PM
SAMI Awad
SAMI Awad - avatar
0
I tried tkinter created my first window and label. Easy. I will post some code tonight
28th Mar 2017, 5:05 PM
SAMI Awad
SAMI Awad - avatar