We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eae90d commit ed2a017Copy full SHA for ed2a017
tests/android/testhardware/main.py
@@ -1,14 +1,14 @@
1
from time import sleep
2
from jnius import autoclass
3
4
-print '-- test hardware start!'
+print('-- test hardware start!')
5
6
Hardware = autoclass('org.renpy.android.Hardware')
7
-print 'DPI is', Hardware.getDPI()
+print('DPI is', Hardware.getDPI())
8
9
Hardware.accelerometerEnable(True)
10
for x in xrange(20):
11
print Hardware.accelerometerReading()
12
sleep(.1)
13
14
-print '-- test hardware done!'
+print('-- test hardware done!')
0 commit comments