[issue26855] add platform.android_ver() for android

Marc-Andre Lemburg report at bugs.python.org
Wed Apr 27 07:58:30 EDT 2016


Marc-Andre Lemburg added the comment:

If the file is guaranteed to exist on most modern Android platforms, this sounds like a good approach.

Perhaps you could add support to fallback to running getprop instead, if the file doesn't exist or cannot be parsed ?!

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26855>
_______________________________________


More information about the Python-bugs-list mailing list