?print-pdf' Created for
picture source: @imgur.com
from If programming languages were essays...
import this
Python is an open source project: Python's github
# windows:
python --version
# windows (using py launcher):
py --version
# Linux, MacOS:
python3 --version
py.exe launcherpy.exe ) is a utility which aids in locating and executing of different Python versions.py launcher will automatically select the most recent version of Python you've installed.py -3.7 to select a particular version, or py --list to see which versions can be used. pyenvDuring the course I'll use VSCode.
PythonCourse/
├── HW
└── Labs
Workspace Settingssay_hello.py and press enter.
my_name = "Iva"
print("Hello " + my_name)
.vscode (if there is no one) and create the file tasks.json
tasks.json and open your .py file. And then just use CTRL+SHIFT+BCommand Palette gives you access to all VS commands in the given context.
| Keys | Action |
|---|---|
| ctrl+shift+p | Opens Command Palette |
| Ctrl+S | Save file |
| Ctrl+Z | Undo what you've typed |
| Ctrl+Y | Redo |
| Ctrl+` | Toggle Terminal/Output panel |
| Ctrl+L | While in terminal will clear the output |
| Ctrl+B | Toggle Sidebar |
| Ctrl+J | Toggle Pannel |
| Ctrl+D | selects the next occurrence after the one you selected. See multi-cursor-selection |
These slides are based on
customised version of
framework