repl.it
@Saibot84/

Python3 Pygame Kivy

Pygame

No description

fork
loading
Files
  • main.py
  • Packager files
  • requirements.txt
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
'''
Application example using build() + return
==========================================
An application can be built if you return a widget on build(), or if you set
self.root.
'''

import kivy
kivy.require('1.0.7')

from kivy.app import App
from kivy.uix.button import Button

class TestApp(App):
	def build(self):
		# return a Button() as a root widget
		return Button(text='hello world, cool!')

if __name__ == '__main__':
	TestApp().run()

# Kivy-Garden==0.1.4
# docutils==0.15.2
# Pygments==2.4.2
# requests==2.22.0
# idna==2.8
# certifi==2019.9.11
# chardet==3.0.4
# urllib3==1.25.6
?