An introductory Python course designed specifically for Math students.
Visit the course website: https://daniprec.github.io/Python-Course
This course provides a comprehensive introduction to programming using Python. Students will learn fundamental programming concepts and develop practical coding skills through hands-on exercises and projects.
- Module 1: Introduction to Python - Learn the fundamentals of Python programming
- Module 2: Data Structures - Explore Python's built-in data structures
- Module 3: Control Flow and Functions - Master conditional statements, loops, and functions
- Module 4: Advanced Topics - Dive into file I/O, error handling, and libraries
- Quarto (version 1.4 or later)
# Clone the repository
git clone https://github.com/daniprec/Python-Course.git
cd Python-Course
# Preview the website locally
quarto preview
# Render the website
quarto renderThe rendered website will be in the _site directory.
This website is automatically deployed to GitHub Pages using GitHub Actions.
-
Enable GitHub Pages:
- Go to your repository Settings → Pages
- Under "Build and deployment", select "GitHub Actions" as the source
-
Push to Main Branch:
- The workflow will automatically run when you push to the
mainbranch - You can also manually trigger it from the Actions tab
- The workflow will automatically run when you push to the
-
View Your Site:
- Once deployed, your site will be available at:
https://yourusername.github.io/Python-Course
- Once deployed, your site will be available at:
If you prefer to deploy manually:
# Render the website
quarto render
# Publish to GitHub Pages
quarto publish gh-pagesPython-Course/
├── _quarto.yml # Quarto configuration
├── index.qmd # Home page
├── syllabus.qmd # Course syllabus
├── assets/
│ └── styles.css # Custom CSS
└── modules/
├── module1/ # Introduction to Python
├── module2/ # Data Structures
├── module3/ # Control Flow and Functions
└── module4/ # Advanced Topics
- Interactive Content: All code examples with syntax highlighting
- Collapsible Exercises: Practice problems with solutions
- Responsive Design: Works on desktop and mobile devices
- Search Functionality: Built-in search across all content
- Dark Mode Support: Automatic theme switching
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
daniprec
- GitHub: @daniprec
- Built with Quarto
- Designed for Math students learning Python programming