Back to skills
extension
Category: Development & EngineeringNo API key required

detect-python-version

Detects the Python major and minor version of the current repository

personAuthor: jakexiaohubgithub

detect-python-version

Runs a script that outputs the Python version in major.minor format (e.g., 3.11, 3.13).

Instructions

Run scripts/detect_version.py to detect the Python version.

The script outputs just the version string in major.minor format, nothing else.

Examples

Output: 3.11

Output: 3.13