Skip to Content
Secret Recipes of the Python Ninja
book

Secret Recipes of the Python Ninja

by Cody Jackson
May 2018
Intermediate to advanced content levelIntermediate to advanced
380 pages
9h 37m
English
Packt Publishing
Content preview from Secret Recipes of the Python Ninja

How to do it...

  1. To check that the launcher is installed, simply type py on the Windows Command Prompt. If installed, the latest version of Python is launched.
  2. If not installed, you will receive the following error:
      'py' is not recognized as an internal or external command,       operable program or batch file.
  1. Assuming different versions of Python are installed, to use a different version simply indicate it via a - option:
      py -2.6 # Launches Python version 2.6      py -2 # Launches the latest version of Python 2
  1. If using a Python virtual environment and the Python launcher is executed without specifying a Python version explicitly, the launcher will use the virtual environment's interpreter rather than the system one. To use the system interpreter, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Expanding World of Python

The Expanding World of Python

Dane Hillard

Publisher Resources

ISBN: 9781788294874Supplemental Content