PyDocs

Nav

Generic Operating System Services

python_version

platform

function (source)
  • python_version()
Returns the Python version as string 'major.minor.patchlevel'

Note that unlike the Python sys.version, the returned value
will always include the patchlevel (it defaults to 0).
0 Examples
No examples for platform/python_version.
See Also
No see-alsos for platform/python_version
0 Notes
No notes for python_version