In the last screen, we accessed Python by typingpython
in the shell. We can run many programs this way. There's nothing special about a program -- it's a file somewhere on the system.
Any program can be accessed by typing its full path. The full path for Python, which itself is a program, is /usr/bin/python
.
Instructions
- Type
/usr/bin/python
to get to the Python interpreter. - Type
exit()
to leave the interpreter.