Welcome to my comprehensive Python programming course repository! This repository contains my complete learning journey through Python programming, from basic concepts to advanced topics, along with practical projects and hands-on exercises.
This repository is organized into 13 comprehensive chapters, each covering essential Python concepts with practical examples and exercises.
Chapter | Topic | Key Concepts |
---|---|---|
Chapter 1 | Introduction to Python | Basic setup, modules, first programs |
Chapter 2 | Variables & Data Types | Variables, operators, input/output |
Chapter 3 | Strings | String manipulation, slicing, escape sequences |
Chapter 4 | Lists & Tuples | Data structures, indexing, methods |
Chapter 5 | Sets | Set operations, unions, intersections |
Chapter 6 | Conditionals | If-else statements, logical operators |
Chapter 7 | Loops | For loops, while loops, control statements |
Chapter 8 | Functions | Function definition, arguments, recursion |
Chapter 9 | File Handling | Reading/writing files, file operations |
Chapter 10 | Classes & Objects | OOP basics, classes, attributes |
Chapter 11 | Inheritance | Multiple inheritance, method overriding |
Chapter 12 | Advanced Python | Walrus operator, exceptions, comprehensions |
Chapter 13 | Advanced Topics | Virtual environments, lambda, functional programming |
- Project 1: Snake, Water, Gun Game 🎮
- Project 2: Number Guessing Game 🎯
A sophisticated voice-controlled AI assistant with the following features:
- Voice Recognition: Speech-to-text conversion
- Text-to-Speech: Natural voice responses
- Web Automation: Open websites with voice commands
- Music Player: Play songs from YouTube library
- News Reader: Get latest headlines
- AI Integration: OpenAI-powered responses
- Wake Word Detection: "Jarvis" activation
- 🎤 Voice command recognition
- 🌐 Web browser automation
- 🎵 Music playback from YouTube
- 📰 Real-time news updates
- 🤖 AI-powered responses
- 🎯 Wake word detection
- Python 3.x
- Standard library modules
- SpeechRecognition - Voice input processing
- pyttsx3 - Text-to-speech synthesis
- pygame - Audio playback
- gTTS - Google Text-to-Speech
- OpenAI - AI-powered responses
- requests - HTTP requests for APIs
- python-dotenv - Environment variable management
Python-Course/
├── Chapter 1/ # Introduction & Basics
├── Chapter 2/ # Variables & Data Types
├── Chapter 3/ # Strings
├── Chapter 4/ # Lists & Tuples
├── Chapter 5/ # Sets
├── Chapter 6/ # Conditionals
├── Chapter 7/ # Loops
├── Chapter 8/ # Functions
├── Chapter 9/ # File Handling
├── Chapter 10/ # Classes & Objects
├── Chapter 11/ # Inheritance
├── Chapter 12/ # Advanced Python
├── Chapter 13/ # Advanced Topics
├── Project 1/ # Snake, Water, Gun Game
├── Project 2/ # Number Guessing Game
└── Mega Project/ # Jarvis Voice Assistant
├── main.py # Main application
├── client.py # OpenAI client
├── musicLibrary.py # Music database
├── test_songs.py # Testing utilities
├── requirements.txt # Dependencies
└── README.md # Project documentation
- Python 3.7 or higher
- pip (Python package installer)
-
Clone the repository
git clone https://github.com/Shavitjnr/Python-Course.git cd Python-Course
-
For the Voice Assistant (Mega Project)
cd "Mega Project" pip install -r requirements.txt
-
Set up environment variables
# Create a .env file echo "OPENAI_API_KEY=your_openai_api_key_here" > .env echo "NEWS_API_KEY=your_news_api_key_here" >> .env
# Snake, Water, Gun Game
python "Project 1/main.py"
# Number Guessing Game
python "Project 2/main.py"
cd "Mega Project"
python main.py
Voice Commands:
- "Jarvis" (wake word)
- "Open Google"
- "Play [song name]"
- "Tell me the news"
- "What's the weather?"
- Python basics and syntax
- Variables, data types, and operators
- Strings and data structures
- Control flow and conditionals
- Loops and iterations
- Functions and modular programming
- File handling and I/O operations
- Object-oriented programming
- Inheritance and polymorphism
- Advanced Python features
- Modern Python practices
Each chapter includes comprehensive practice sets with:
- Conceptual questions
- Coding exercises
- Real-world problems
- Debugging challenges
This is a personal learning repository, but suggestions and improvements are welcome! Feel free to:
- Report bugs or issues
- Suggest improvements
- Share additional learning resources
This project is for educational purposes. Feel free to use the code for learning and personal projects.
By completing this course, you'll have:
- ✅ Strong foundation in Python programming
- ✅ Understanding of OOP concepts
- ✅ Experience with real-world projects
- ✅ Knowledge of modern Python practices
- ✅ Skills to build voice-controlled applications
- ✅ Ability to work with APIs and external services
- GitHub: @Shavitjnr
- Repository: Python-Course
⭐ Star this repository if you find it helpful for your Python learning journey!
Happy Coding! 🐍✨