+ 4
[SOLVED]Please explain this python code to me
I found this code on qpython. can you explain it btw the output is hello and what ever you input #-*-coding:utf8;-*- #qpy:console #qpy:2 """ This is an example file which tell you how to use QPython to develop android app. It use the SL4A feature @Author: River @Date: 2012-12-31 """ import androidhelper droid = androidhelper.Android() line = droid.dialogGetInput() s = "Hello, %s" % (line.result,) droid.makeToast(s) https://code.sololearn.com/cK4L4M4duBkY/?ref=app
4 ответов
+ 7
It is just an example on how to use qpython's built-in, sl4a-backed modules. Androidhelper allows you for easy building of Android apps.
This example shows you how to display a toast :)
+ 4
;)
it is this little Android message at the bottom of the screen, which pops up when you for example download a file or making an app update...
https://i.ytimg.com/vi/QoXvV2GAcek/hqdefault.jpg
+ 4
thanks Kuba Siekierzyński 👍
+ 3
Kuba Siekierzyński a toast? coding thing? or breakfast food toast?