Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 77 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Virtual environments
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/

# IDEs
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb_checkpoints/

# Database files
*.db
*.sqlite
*.sqlite3
etl_output.db

# Data files (optional - uncomment if you don't want to track data files)
# *.csv
# *.json
# *.xlsx
# *.parquet

# Logs
*.log
logs/

# Environment variables
.env
.env.local

# Testing
.pytest_cache/
.coverage
htmlcov/
.tox/

# OS
Thumbs.db
.DS_Store

# Temporary files
tmp/
temp/
*.tmp
56 changes: 56 additions & 0 deletions 01-python-fundamentals/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Python Fundamentals

Welcome to the Python Fundamentals section! This is where your journey begins.

## 📚 What You'll Learn

- Python syntax and basic data types
- Control structures (if, for, while)
- Functions and modules
- Object-oriented programming basics
- Error handling
- File operations

## 📖 Lessons

1. [Getting Started with Python](lessons/01-getting-started.md)
2. [Variables and Data Types](lessons/02-variables-datatypes.md)
3. [Control Flow](lessons/03-control-flow.md)
4. [Functions](lessons/04-functions.md)
5. [Object-Oriented Programming](lessons/05-oop-basics.md)
6. [Error Handling](lessons/06-error-handling.md)
7. [File I/O](lessons/07-file-io.md)

## 💻 Examples

Check the `examples/` folder for working code examples that demonstrate each concept.

## ✏️ Exercises

Complete the exercises in the `exercises/` folder to practice what you've learned. Solutions are provided, but try to solve them on your own first!

## ⏱️ Estimated Time

2-4 weeks, depending on your prior programming experience and time commitment.

## ✅ Completion Checklist

- [ ] Complete all lessons
- [ ] Run all examples
- [ ] Solve all exercises
- [ ] Build a small project using concepts learned

## 🎯 Project Idea

Build a simple command-line todo list application that:
- Adds tasks
- Removes tasks
- Marks tasks as complete
- Saves tasks to a file
- Loads tasks from a file

## 📚 Additional Resources

- [Python Official Tutorial](https://docs.python.org/3/tutorial/)
- [Real Python - Python Basics](https://realpython.com/tutorials/basics/)
- [Automate the Boring Stuff with Python](https://automatetheboringstuff.com/)
34 changes: 34 additions & 0 deletions 01-python-fundamentals/examples/hello_world.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"""
Basic Python Examples - Hello World and Simple Operations
"""

# Simple print statement
print("Hello, Data Engineer!")

# Print with multiple values
print("Welcome to", "Python", "Programming")

# Basic arithmetic
print("\n=== Basic Arithmetic ===")
print("2 + 3 =", 2 + 3)
print("10 - 4 =", 10 - 4)
print("5 * 6 =", 5 * 6)
print("20 / 4 =", 20 / 4)
print("17 // 5 =", 17 // 5) # Integer division
print("17 % 5 =", 17 % 5) # Modulus
print("2 ** 8 =", 2 ** 8) # Exponentiation

# String operations
print("\n=== String Operations ===")
name = "Data Engineer"
print("Hello,", name)
print("Length of name:", len(name))
print("Uppercase:", name.upper())
print("Lowercase:", name.lower())

# Comments
# This is a single-line comment
"""
This is a multi-line comment
or a docstring
"""
Loading