Python gets wirtten some code, we use some translation service called an interpreter(it will translate our code line by line) to run our code and then, our shell will spit out some instruction for our machines.
1. use space make code clean
2. readability, is easy to understand, name does not confuse, comments
3. predictability
4. DRY, do not repeat again gain
why do we put everthing in global? Our machine does not have infinite memory power.
Nonlocal can reduce use location in memory, once we termine our function that will destroy all variable in this function, soon we can not call variable in this function. It is nice feature in Python.
Functional programming is all about separation of concerns, It´s all about packaging our code into separate chunks so that everything´s well organized in each part od our code. PURE FUNCTIONS
Python Types: Numbers,Strings,Boolean,Lists,Dictionaries, Tuples,Sets,None
Python Basics: Comparison Operators,Logical Operators,Loops,Range,Enumerate,Counter,Named Tuple,OrderedDict
Functions: Functions,Lambda,Comprehensions,Map,Filter,Reduce,Ternary,Any,All,Closures,Scope
Advanced Python: Modules,Iterators,Generators,Decorators,Class,Exceptions,Command Line Arguments,File IO,Useful Libraries
1. Resume
1_1. Math Function, int, float, Operator Precedence, bin(), int(string, base)
1_2. Variables, expression vs statements, augmented assignment operator
1_3. String, str(), Type convertion, Escape Sequence, Formatted Strings, String indexes, Immutability
1_4. Built in Function, methods, len()
1_5. Booleans
1_6. Exercise: Type Convertion
1_7. Developer Fundamentals, comments
1_8. Exercise: Password Check
1_9. List, Matrix, List Methods, list unpacking
1_10. None
1_11. Dictionary
1_12. Tuple
1_13. Set
2_1. Condition Logic, if elif else and ,Indentation python, Truthy and Falsy, Ternary operator
2_2. Short Circuiting
2_3. Loops, Iterable, range, enumerate, while, break, continue, pass
2_4. GUI exercise
2_5. Check for duplicates in list exercise
2_6. Function, Arguments vs Parameters, Default
2_7. return
2_8. Methods vs Functions
2_9. Docstrings, clean code, *args vs **kwarg, walrus operator, scope, global keyword, nonlocal
myfirstnotebook.ipynb. first try with jupyter notebook, it is so cool
3_1. What is OOP?
3_2. Create our own Object! Atrributes vs Methods, @classmethod vs @statemethod
3_3. Encapsulation , Abstraction, private and public variable
3_4. Inheritance Polymorphism
3_5. Exercise
3_6. super(), introspection
3_7. Exercise
3_8. Multiple Inheritance
3_9. MRO
4_1. Pure Function(everytime modify same way), map, filter, zip, and reduce
4_2. Exercise
4_3. Comprehenshion
4_4. Exercise