concept $ path in category python

appears as: $PATH
Tiny Python Projects: Learn coding and testing with puzzles and games

This is an excerpt from Manning's book Tiny Python Projects: Learn coding and testing with puzzles and games.

The directories are separated by colons (:). Notice that the directory where python3 lives is the first one in $PATH. It’s a pretty long string, so I broke it with the \ character to make it easier to read. If you copy your hello.py program to any of the directories listed in your $PATH, you can execute a program like hello.py without the leading ./ and without having to be in the same directory as the program.