mirror of
https://gitea.com/Lerking/python-crash-course.git
synced 2026-01-11 11:07:08 +01:00
Adding documents. /JL
This commit is contained in:
35
README.md
35
README.md
@@ -1,3 +1,34 @@
|
||||
# python-crash-course
|
||||
# Python 101 crash course.
|
||||
|
||||
## Basics
|
||||
Covering the very basics of Python functionality.
|
||||
- Naming convention
|
||||
- Im-/mutable objects
|
||||
- Typing (Not writing, but type definition)
|
||||
|
||||
## Lesson 1
|
||||
Covering entry level introduction into Python programming.
|
||||
- Defining and calling functions
|
||||
- The correct way to launch a Python file
|
||||
- Working with lists, dictionaries and sets
|
||||
etc.
|
||||
|
||||
## Lesson 2
|
||||
Introducing classes and methods.
|
||||
- Defining classes
|
||||
- Proper initiation of a class instance
|
||||
- Working with class instances
|
||||
|
||||
## Lesson 3
|
||||
Introducing special types of classes.
|
||||
- Data classes
|
||||
- Abstract Base Classes (ABC)
|
||||
- Property classes
|
||||
- Protocol classes
|
||||
|
||||
## Lesson 4
|
||||
Introduction to comprehensions
|
||||
- List comprehentions
|
||||
- Dict comprehentions
|
||||
|
||||
|
||||
Basic python do's and don't
|
||||
0
basics/basics.md
Normal file
0
basics/basics.md
Normal file
@@ -19,7 +19,7 @@ if __name__ == "__main__":
|
||||
# parts. This prevents you from running a file that's only supposed to be imported, directly from terminal.
|
||||
# Your main file must follow this setup. Failing to do so, will give you issues further down the path.
|
||||
|
||||
# The overall purpose of this setup is that the file you execute with python, is called "__main__" and
|
||||
# The overall purpose of this setup is that the file you execute with python, is called "__main__" internally and
|
||||
# any other files is called by their import name.
|
||||
|
||||
# Any code definitions are not executed until you actually call the function/method.
|
||||
# No function/class method definitions are executed until you actually call the function/method.
|
||||
0
lesson_1/lesson_1.md
Normal file
0
lesson_1/lesson_1.md
Normal file
Reference in New Issue
Block a user