Skip to content

paradise-007/pylearn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🐍 PyCompanion β€” Interactive Python Learning App

A fully interactive, browser-based Python learning platform β€” no installation required.

Live Demo License HTML


✨ Features

Feature Description
πŸ“¦ Course Modules 12 structured modules from Python basics to testing
⌨️ Code Editor In-browser editor with simulated execution and test cases
🧠 Quiz Arena 10-question quiz with instant feedback and XP rewards
πŸš€ Project Lab 9 guided projects sorted by difficulty level
🎬 Video Tutorials Curated YouTube links for every topic
πŸ“š Docs & Resources Links to official docs, cheatsheets, and practice sites
πŸ’¬ Community Forum Ask questions and share solutions with learners
πŸ“ˆ Progress Tracking XP system, completion rings, weekly activity chart
πŸ… Badges 15 achievements to unlock as you learn
πŸŒ™ Dark / Light Mode Full theme toggle with smooth transitions
πŸ” Search Instant search across all modules and topics
πŸ“± Mobile Friendly Fully responsive with collapsible sidebar

πŸ–₯️ Preview

Beginner β†’ Intermediate β†’ Advanced
Variables Β· Loops Β· Functions Β· OOP Β· APIs Β· Testing

PyCompanion Screenshot


πŸš€ Getting Started

Option A β€” Use it instantly (no setup)

πŸ‘‰ Open Live App

Option B β€” Run locally

# Clone the repository
git clone https://github.com/yourusername/pycompanion.git

# Navigate into the folder
cd pycompanion

# Open directly in your browser
open index.html

# OR serve with Python's built-in server
python3 -m http.server 8000
# Then visit http://localhost:8000

πŸ“ Project Structure

pycompanion/
β”œβ”€β”€ index.html        # Entire app β€” single self-contained file
β”œβ”€β”€ README.md         # You're reading this
└── screenshot.png    # Preview image (optional)

Note: PyCompanion is intentionally a single HTML file with zero dependencies. No npm, no build step, no frameworks β€” just open and run.


πŸ“š Curriculum Overview

🟒 Beginner

  • Python Basics β€” variables, types, operators
  • Control Flow β€” if/elif/else
  • Loops β€” for, while, range()

🟑 Intermediate

  • Functions β€” def, scope, *args, **kwargs
  • Data Structures β€” lists, dicts, sets, tuples
  • List Comprehensions
  • File I/O
  • Error Handling

πŸ”΄ Advanced

  • Object-Oriented Programming
  • Modules & Packages
  • APIs & Requests
  • Testing with pytest

πŸ› οΈ Tech Stack

  • Pure HTML5 / CSS3 / Vanilla JavaScript β€” zero dependencies
  • Google Fonts β€” Fira Code + DM Sans
  • No build tools β€” works offline after first load

🀝 Contributing

Contributions are welcome! Here's how:

# 1. Fork this repository
# 2. Create a feature branch
git checkout -b feature/add-new-module

# 3. Make your changes to index.html
# 4. Commit with a clear message
git commit -m "Add: Decorators module content"

# 5. Push and open a Pull Request
git push origin feature/add-new-module

Ideas for contributions:

  • Add new quiz questions
  • Write new coding exercises
  • Add more project ideas
  • Improve mobile layout
  • Add more resource links

πŸ“ License

MIT License β€” free to use, modify, and distribute. See LICENSE for details.


πŸ™ Acknowledgements


Made with ❀️ for Python learners everywhere
⭐ Star this repo if it helped you!

About

🐍 Interactive Python learning app β€” 12 course modules, live code editor, quizzes, projects, badges & progress tracking. Zero dependencies. Just open and learn.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages