Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.61 KB

INTERPRET_FROM_SOURCE.md

File metadata and controls

35 lines (27 loc) · 1.61 KB

Interpret from source code

Requirements

🐍 Python 3 Interpreter

  • Python 3 is required. See if it is already installed, here.
  • If not, download the matching release for your platform here and install it. If you are a Windows user, selecting Add Python 3 to PATH option when installing the software is mandatory.

📃 Source Code

Download the repository and extract the zip into a folder.

💻 Using the command line

Open the Command Promt, Powershell or Terminal in the folder that contains the script.py file (click on the links to see how)

Finding the correct keyword for Python

Enter these lines to the terminal window until it prints out the a version starting with 3.:

  • python --version
  • python3 --version
  • py --version
  • py -3 --version

Once it does, your keyword is without the --version part.

📦 Installing dependencies

Enter the line below to terminal window when you are in the directory where script.py is, use your keyword instead of python:

python -m pip install -r requirements.txt

🏃‍♂️ Running the code

Type below code into command line inside the program folder, use your keyword instead of python:

python script.py

The program should guide you through. However, you can also use custom options. See Options