A curated collection of practical Python examples, snippets, and fundamentals for learners and students.
- Variables & Basic Data Types: Integers, floats, strings, booleans
- Data Structures: Lists, tuples, sets, and dictionaries
- Control Flow: If/else conditions,
forandwhileloops - Functions & Modules: Defining functions, scopes, importing standard libraries
- File I/O: Reading and writing text, JSON, and CSV files
- Error Handling:
try/except/finallybest practices
Make sure you have Python 3.8+ installed:
python3 --versionRun any example script directly:
python3 script_name.pyThis project is licensed under the GPL-3.0 License - see the LICENSE file for details.