13 lines
242 B
Markdown
13 lines
242 B
Markdown
---
|
|
tags: [python, data-types]
|
|
---
|
|
|
|
# Python execution
|
|
|
|
For immediately executable scripts, we have to have a Python shebang at the top:
|
|
|
|
```
|
|
#! /usr/local/bin/python3
|
|
```
|
|
|
|
With programs we can just run the `main` file with `python main.py`.
|