Python and its inner workings
It is a requirment to start every Python file with the '#!/usr/bin/python3' as the first line. Here is the command to do so all at once. Make sure to be in the current working directory.
for file in *; do echo '#!/usr/bin/python3' | cat - "$file" > temp && mv temp "$file"; done
These are the folders in the directory.
- 0x00. Python- Hello World.
- 0x01-python-if_else_loops_functions
- 0x02. Python - import & modules
- 0x03. Python - Data Structures: Lists, Tuples
- 0x04. Python - More Data Structures: Set, Dictionary
- 0x07. Python - Test-driven development
- 0x08. Python - More Classes and Objects
- 0x09. Python - Everything is object
- 0x0A. Python - Inheritance
- 0x0B. Python - Input/Output