Practical Data Science Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How to do it...

Perform the following steps in the command prompt:

  1. Open a new Terminal window and type the following command:
which python 
  1. If you have Python installed, you should see something like this:
/usr/bin/python 
  1. Next, check which version you are running with the following command:
python --version