Created
April 24, 2016 01:55
-
-
Save lipi/4381f5feb9b39a20a074c18537e57fb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kivy | |
kivy.require('1.9.1') | |
from kivy.app import App | |
from kivy.uix.label import Label | |
from PIL import Image as PilImage | |
class MyApp(App): | |
def build(self): | |
img = PilImage.open('kivy-icon-64.png') | |
img = img.transpose(PilImage.FLIP_TOP_BOTTOM) | |
return Label(text='Hello world') | |
if __name__ == '__main__': | |
MyApp().run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment