Intermediate Python for Scripting Setup

Setup

Open your Terminal application and navigate to your ~/code/ga/lectures directory:

cd ~/code/ga/lectures

Make a new directory called intermediate-python-for-scripting, then enter this directory:

mkdir intermediate-python-for-scripting
cd intermediate-python-for-scripting

Then create an intermediate_python.py file with:

touch intermediate_python.py

A quick note on convention - you’ll note that we’re using underscores (_) in this filename instead of dashes (-). This follows the PEP style guide for Python modules and packages.

Following this style guide is not required for our code to run, but following it means that you have a consistent style across any Python code you write. It also means that you have fewer decisions to make about how to best structure your code.

Open the contents of the directory in VS Code:

code .