Skip to content

This repo holds my personal Python notes, structured and written in LaTeX. It's a concise reference for understanding Python concepts, syntax, and use cases. Whether you're new or revisiting, it offers clear explanations with examples.

License

Notifications You must be signed in to change notification settings

siddharthpatelde/Python_Notes

Repository files navigation

🐍 Python Notes

This repository contains my personal notes on Python, organized and written in LaTeX. It's designed as a structured reference for quickly understanding Python concepts, syntax, and common use cases. Whether you're a beginner or revisiting Python, this document provides summarized explanations with examples.

📁 Repository Map – Where to Find What

🚩 Start Here: The main compiled document is
📄 document.pdfThis is the core PDF of all Python notes.

📦 Exercises & Questions:
📁 questions/ – Contains all practice problems and topic-wise exercises.
📄 questions.pdf – A single PDF with all questions compiled.

🧠 All .py code examples are organized in Python_Files/ and referenced from the LaTeX document.


📘 About the Project

  • Format: PDF generated from LaTeX
  • Content: Core Python topics with examples, syntax highlights, and summary tables
  • Purpose: For learning, revision, and teaching purposes

✅ Features

  • Clean, structured layout using LaTeX
  • Code examples in separate files
  • Covers fundamental and intermediate Python topics
  • Easy to expand as new topics are added

🛠️ Setup Instructions (for Minted Support)

This project uses the minted package for syntax-highlighted code blocks in LaTeX. Follow these steps to compile successfully:

1. Install Python Pygments Package

Make sure you have Python installed, then run:

pip install Pygments

2. Compile with --shell-escape

The LaTeX file must be compiled with the --shell-escape flag enabled. Example:

pdflatex -synctex=1 -interaction=nonstopmode --shell-escape your_file.tex

If using TeXstudio, use this custom command:

pdflatex -synctex=1 -interaction=nonstopmode --shell-escape %.tex | txs:///view-pdf

⚠️ Without --shell-escape, the minted code blocks will not render correctly.

📜 License

This project is licensed under the MIT License.

👤 Author

Siddhart Patel
Student at HTW Berlin, Lab Assistant, and Python Instructor
WebsiteEmail


"Simple code. Clear logic. Powerful understanding."

About

This repo holds my personal Python notes, structured and written in LaTeX. It's a concise reference for understanding Python concepts, syntax, and use cases. Whether you're new or revisiting, it offers clear explanations with examples.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published