PYVERSIONS(1)
π PYVERSIONS(1) π
okay bestie, pull up a chair, because this is pyversions from the manual pages and she is exactly what she sounds like: your little python-version gossip girl πβ¨
β¨ NAME β¨
pyversions β print python version information
like. that's the whole job. she prints python version info. iconic behaviour, no notes. π
πΈ SYNOPSIS πΈ
pyversions [-h] [-v] [<options>]
π¦ DESCRIPTION π¦
so here's the vibe: pyversions prints info about the python runtimes you've got installed and which ones are supported, plus which one is the default runtime. and β plot twist β she also parses the info out of the PythonVersion fields in the package control file. multitasking queen π
π OPTIONS π
-d,--defaultβ show the default python version. that's the one holding the crown π-s,--supportedβ show the supported python versions. the whole approved squad π-r,--requested [<version string>|<control file>]β reads the value of theXS-Python-Versionfield in the source section of a control file and shows you all the python versions that match. now, the parameter gets interpreted as a version string if it's not the name of a file. and if theXS-Python-Versionfield is justβ¦ missing? she goes and gets the version info fromdebian/pyversionsinstead. and if you pass no parameter at all, she falls back to listing the supported Python versions after checkingdebian/controlanddebian/pyversions. she really said "I'll figure it out myself" π-i,--installedβ show the installed supported python versions. the ones actually living on your machine π-v,--versionβ limit the output to just the version numbers of the python versions. no extra chatter, just numbers, periodt β¨-h,--helpβ print a help text. the classic. the lifesaver π«Ά
π SEE ALSO π
Python policy.
(yeah that's it. go read the Python policy if you want the deep lore π)
π§ AUTHOR π§
Matthias Klose
and that's the whole page, bestie!! footer vibes are just PYVERSIONS() β no source, no version, no date, she's mysterious like that ππ go forth and check your python versions, you've got this fr fr πβ
π¦ where this page comes from
- ubuntu jammy: python2-minimal 2.7.18-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms