[IMPR] shell.py: use platform.python_version() in favour of sys.version
[IMPR] shell.py: use platform.python_version() in favour of sys.version

Change-Id: Ife674f2bd2b8d17434a31971a1c390a62d160a88

wikimedia/pywikibot-core,wikimedia/pywikibot-core