8. Intermezzo: Shebangs and PATH
Completion requirements
Go through the activity to the end
Learning Overview
Intermezzo just means a short break or side note. In this course, you'll find Intermezzo sections whenever we pause to cover a practical detail that doesn't fully belong in the main flow of the lesson, but is still important for working with Python on supercomputers.
In this lesson, we'll step briefly away from Python itself and look at how your operating system (Linux/macOS/Windows) figures out how to run your code. We will focus on two little but powerful concepts: shebangs and PATH, that help turn your scripts into real command-line tools, by making your programs executable, and giving you control over where the system should look for commands, along with how to update this location as needed.
â± Time Estimate: ~20 mins
â
Knowledge Checks: 1