index

Good to know

⭐️ There are already many online resources that document pyhton pretty well, find here some of the best ones:


Setup

TopicContent
🐍 ImportsImport modules, classes or files
🐍 Virtual EnvironmentCreate a virtual envi to isolate the project and its dependencies
🐍 Executable FilesCreate a file that can be executed just like an app
🐍 RequirementsInstall requirements

Basics

TopicContent
🐍 VariablesSimple, Multi, constant or duunder
🐍 CommentsSingle and multiline comments
🐍 DatatypesShort overview over all possible datatypes
🐍 ClassCreate your own objects
🐍 FunctionFunction, methods all the same
🐍 Try ExceptAvoid crashes and increase logging
❗️finish Testing
🐍 Naming ConventionsName conventions for Var, Class and more

Lists

TopicContent
🐍 List[ Default list ] - Stores all kind of datatypes, duplicates and can be sorted
🐍 Tuple( Immutable list ) - Preserve order and allow duplicates
🐍 Set( Unique list ) - Unsorted & optimized for speed, new values can be added
🐍 2D ListsList of Lists - Good for maps or games
🐍 Dictionary{{ Key: Value }} - Map keys to a value

Manipulations

TopicContent
🐍 Convert DatatypesString to number and vice versa
🐍 String & list manipulationSlice, join, reverse & more
🐍 Number manipulationSimple calculation option
🐍 OperatorsAND, OR and more

Control Flow

TopicContent
🐍 For LoopIterate over strings or lists, limited iterating
🐍 While LoopIterate as long as the condition is true
🐍 Loop ControlBreak, Continue, Pass
🐍 If elseIf else, elif, if in and more
🐍 Match CasePythons version for Switch-Case

Debug

TopicContent
❗️finish logging

Data

TopicContent
🐍 Reading & Writing FilesExport or import to/from other files
❗️finish ⏳ Add Pandas when used next time

Frontend

TopicContent
🐍 PyWebViewLet your python backend talk to a html & js frontend