Linux Commands Examples

A great documentation place for Linux commands


print python3 version information


py3versions [-h] [-v] [<options>]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


no example yet ...

... Feel free to add your own example above to help other Linux-lovers !


py3versions prints information about installed, supported python3 runtimes, the default runtime, and parses the information of the PythonVersion fields in the package control file for Python3.


-d, --default

Show the default python3 version.

-s, --supported

Show the supported python3 versions.

-r, --requested [<version string>|<control file>]

Reads the value of the X-Python3-Version field in the source section of a control file and shows all matching python3 versions. The parameter is interpreted as a version string, if it is not the name of a file. If the X-Python3-Version field is missing, it will fall back to list the supported Python3 versions after checking debian/control. Versions less than 3 are ignored. The keyword all is ignored because it covers all Python2 versions. The former keyword current is not supported at all in Python3.

-i, --installed

Show the installed supported python3 versions.

-v, --version

Limit the output to the version numbers of the python3 versions.

-h, --help

Print a help text.

see also

Python policy.


Matthias Klose

How can this site be more helpful to YOU ?

give  feedback