Coding in Python 09 - Writing Scripts

From Wiki
Jump to navigation Jump to search


In video number 9 of the Coding in Python series, finally start writing actual scripts instead of using only the Python shell.

Relevant Links
Original Video

Commands Used in this Video

Open an editor to create a Python file (Linux shell command)


Simple Python script

#!/usr/bin/env python3

print("Python is awesome!")

Make a script executable (Linux command)

chmod +x

Execute a Python script (Linux command)