pip

Commands

Libraries

Language Features

One Line List Print

# Instead of..
for i in items:
	print(i)

# You can use list comprehesions and do...
[print(i) for i in l]

Deleting Files

Link

String Formatting

There's several ways of doing this, link, and f-strings are the best!

print(f'Hello! My name is {name}, I am {age}, from {country} and like {hobby}.')

venv

Create

python -m venv ./venv/

Activate

.\\venv\\Scripts\\activate

Deactivate

deactivate