2: Python Versions
There are actually two versions of Python on this machine. We ran the last script using the defaultpython executable, which is Python version 2. We'll instead want to use Python 3, which we can access with the python3 executable.
Instructions
Type python3 script.py to run the file script.py using python 3.
/home/dq$ python3 script.py
Welcome to a Python script
转载请注明原文地址: https://ju.6miu.com/read-1122786.html