+ 3
How create a window on python
I need help to make this.
6 odpowiedzi
+ 7
tkinter module. you can do anything with modules! except make my mother love me again...
+ 6
With Tkinter Here The Code Below
from tkinter import *
root = Tk() #Main window for all widgets
b1 = Button(root, text="Given is cool", bg='blue', fg='red')
b1.pack(side=LEFT)
root.title('Python is very simple')
root.mainloop # Run the main event
+ 5
Kivy is a cross-platform python module who may be your solution : I found and quickly try it with the QPython app for androïd ( finally, it appear that QPython seems difficult or impossible to make app in python who run outside QPython, sadly, so I look toward java instead ^^ ), but it can be used differently ( search at kivy on play store and/or on internet ;) )...
+ 1
Python does not have a built-in way to interact with window managers. You'll want to look into a QT library or one of the BeeWare projects.
+ 1
I prefer to learn to program in Python on my Android tablet device. Unfortunately, the tkinter module doesn't run on Android. I fount out that there are other modules you can use to create a window on an Android device, but I haven't found time yet to experiment with that.
+ 1
QT is quite good and worth learning, once you get your head around it and using qt designer you can put simple to complex interfaces together in a day.
The are some such as Tkinter which is packaged with most python distributions. Most are cross platform. did not see a mention to Android but if so learn Java :)