File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 33import os
44print ('imported os' )
55
6- print ('contents of ./lib/python2.7/site-packages/ etc.' )
7- print (os .listdir ('./lib' ))
8- print (os .listdir ('./lib/python2.7' ))
9- print (os .listdir ('./lib/python2.7/site-packages' ))
106
117print ('this dir is' , os .path .abspath (os .curdir ))
128
139print ('contents of this dir' , os .listdir ('./' ))
1410
15- with open ('./lib/python2.7/site-packages/kivy/app.pyo' , 'rb' ) as fileh :
16- print ('app.pyo size is' , len (fileh .read ()))
17-
1811import sys
1912print ('pythonpath is' , sys .path )
2013
3730
3831kv = '''
3932#:import Metrics kivy.metrics.Metrics
33+ #:import sys sys
4034
4135<FixedSizeButton@Button>:
4236 size_hint_y: None
6559 markup: True
6660 text: '[b]Kivy[/b] on [b]SDL2[/b] on [b]Android[/b]!'
6761 halign: 'center'
62+ Label:
63+ height: self.texture_size[1]
64+ size_hint_y: None
65+ text_size: self.size[0], None
66+ markup: True
67+ text: sys.version
68+ halign: 'center'
69+ padding_y: dp(10)
6870 Widget:
6971 size_hint_y: None
7072 height: 20
8587 Widget:
8688 size_hint_y: None
8789 height: 1000
88- on_touch_down: print 'touched at', args[-1].pos
90+ on_touch_down: print( 'touched at', args[-1].pos)
8991
9092<ErrorPopup>:
9193 title: 'Error'
You can’t perform that action at this time.
0 commit comments