• Docs >
  • Utils >
  • torchtnt.utils.version.get_python_version
Shortcuts

torchtnt.utils.version.get_python_version

torchtnt.utils.version.get_python_version() Version

Get the current runtime Python version as a Version.

Example:

# if running in Python 3.8.0
>>> get_python_version()
'3.8.0'

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources