We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3acc8d6 commit b377ce7Copy full SHA for b377ce7
setup-env
@@ -180,10 +180,12 @@ else
180
env_name=${PWD##*/}
181
fi
182
183
-# List Python versions and select one interactively
+# List Python versions and select one interactively.
184
if [ $LIST_VERSIONS -ne 0 ]; then
185
echo Available Python versions:
186
python_versions
187
+ # Read the user's desired Python version.
188
+ # -r: treat backslashes as literal, -p: display prompt before input.
189
read -r -p "Enter the desired Python version: " PYTHON_VERSION
190
# Check the Python versions being passed in.
191
if [ -n "${PYTHON_VERSION+x}" ]; then
0 commit comments