Android Python 2.6 instead of 2.7. Why?
#1
Question 
When I run addon on Windows (kodi 15/16) all is well. When run on android I get 'invalid syntax error'. The reason is the requirement of Python 2.6 syntax.

Example:
mySet = {arg1, arg2, arg3}. Result: invalid syntax.
mySet = Set([arg1, arg2, arg3]). Result: ok!

As I know in Kodi 15/16 Python 2.7 supported for all platforms. Or not?
Reply
#2
nope, kodi 17 will ship with python 2.7 on all platforms.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Do I understand correctly? 2.7 is not ported to Android? Or I can use it (forcibly)? Can I use 'import __future__' module?
Reply
#4
kodi 15/16 ship with python 2.6 on android
kodi 17 ships with python 2.7 on android
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply

Logout Mark Read Team Forum Stats Members Help
Python 2.6 instead of 2.7. Why?0