No Description

python_version.sh 110B

12
  1. #!/bin/bash
  2. which python3 > /dev/null 2>&1; rc=$?; if [[ $rc != 0 ]]; then echo python; else echo python3; fi