Get up and running with Python Features Explorer in 5 minutes!
- Python 3.8 or higher
- pip (Python package manager)
- Basic understanding of Python
cd /home/dido/projects/python/python_quick_robert_oliver/using_math
pip install colorama PyYAMLRequired packages:
colorama>=0.4.6- Terminal colorsPyYAML>=6.0- Configuration parsing
Note: If you get permission errors, use the system's package manager or create a virtual environment.
python -m venv explorer_env
source explorer_env/bin/activate # On Windows: explorer_env\Scripts\activatepip install -r requirements.txtThe application comes with sensible defaults. Just run:
python main.py- Copy the example configuration:
cp config.yaml.example config.yaml- Edit
config.yaml:
# Example: Change theme
theme:
mode: "dark"
# Example: Adjust timeout
execution:
timeout_seconds: 60
# Example: Enable progress tracking
progress:
enabled: true
storage_file: "user_progress.json"python main.pyYou'll see:
============================================================
Welcome to the Python Features Explorer!
============================================================
Search chapters (press Enter to see all):
-
View all chapters:
- Just press Enter at the search prompt
-
Select a chapter:
- Type a number (e.g.,
1for Introduction) - Press Enter
- Type a number (e.g.,
-
View chapter content:
- Read the displayed README content
- See available examples
-
Run an example:
- Select an example number
- Watch the execution
- Press Enter to continue
-
Track your progress:
- Completed chapters show a ✓
- Progress percentage at the top
- View stats anytime with
stats
| Command | Description |
|---|---|
exit |
Exit the application |
help |
Show available commands |
stats |
Display your progress statistics |
fav |
Toggle favorite mode |
config |
Show current configuration |
When prompted:
Search chapters (press Enter to see all)> python
This will filter chapters containing "python" in their name, description, or examples.
- Press
favto enable favorite mode - Browse chapters
- Favorites are automatically marked
# At the main menu, type:
statsShows:
- Completed chapters
- Progress percentage
- Time spent
- Favorite chapters
Edit config.yaml for:
- Terminal color themes
- Execution timeout
- Search behavior
- Feature toggles
Issue: All text is plain text without colors.
Solution:
pip install coloramaIssue: Main menu shows no chapters.
Solution:
- Check
content/directory exists - Ensure README files are named correctly
- Verify directory structure:
content/ ├── ch01/ │ └── README.md ├── ch02/ │ └── README.md
Issue: Examples fail to execute.
Solutions:
- Check Python version (3.8+)
- Verify example files have correct permissions
- Review
python_explorer.logfor errors - Check timeout value in config
Issue: Progress resets each session.
Solutions:
- Check
config.yaml:progress: enabled: true
- Ensure write permissions on storage directory
- Check
user_progress.jsonis not read-only
- Start with Introduction (Chapter 1)
- Complete all examples - Practice makes perfect
- Take quizzes if enabled
- Track your progress with stats
- Explore other chapters based on your interests
- Change theme in
config.yaml - Adjust timeout for longer examples
- Enable search for easy navigation
- Add favorites for quick access
Review python_explorer.log for detailed information about:
- Application startup
- Chapter loading details
- Execution errors
- Progress changes
See config.yaml comments or FEATURES.md for detailed configuration options.
README.md- Main documentationFEATURES.md- Detailed feature documentationsecurity.md- Security considerations
How do I reset my progress? Delete
user_progress.jsonand restart the application.
Can I create my own chapters? Yes! Add new directories to
content/with README.md files.
How do I backup my progress? Copy
user_progress.jsonto a safe location.
- Check existing documentation for answers
- Review logs for specific error details
- Consider the security implications when customizing
python main.py- Start the applicationpython generate_quizzes.py- Generate quiz filespython generate_chapters.py- Generate chapter structurepytest- Run tests
Happy Learning! 🐍