diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Python-module.md | 5 | ||||
-rw-r--r-- | docs/markdown/snippets/python-find-version.md | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md index bc4311f..f67262a 100644 --- a/docs/markdown/Python-module.md +++ b/docs/markdown/Python-module.md @@ -37,7 +37,10 @@ If provided, it can be: - One of `python2` or `python3`: in either case, the module will try some alternative names: `py -2` or `py -3` on Windows, and `python` everywhere. In the latter case, it will check whether the version - provided by the sysconfig module matches the required major version + provided by the sysconfig module matches the required major version. + + *Since 1.2.0*, searching for minor version (e.g. `python3.11`) also + works on Windows. Keyword arguments are the following: diff --git a/docs/markdown/snippets/python-find-version.md b/docs/markdown/snippets/python-find-version.md new file mode 100644 index 0000000..0cd6672 --- /dev/null +++ b/docs/markdown/snippets/python-find-version.md @@ -0,0 +1,6 @@ +## Find more specific python version on Windows + +You can now use `python3.x`, where `x` is the minor version, +to find a more specific version of python on Windows, when +using the python module. On other platforms, it was already +working as `python3.x` is the executable name. |