6 Réponses
+ 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.
+ 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
+ 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.
+ 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
0
OK thank you
Please do post an example
0
I tried tkinter created my first window and label. Easy.
I will post some code tonight