title: Writing a LaTeX document with Python code snippets
body: <p>I am using LaTeX to write a document about Python. This document will contain code snippets (examples).</p>
  
  <p>I could use the <code>verbatim</code> environment, but before I embark onto it, I'd like to know if you are aware of any LaTeX style file which provides an environment for Python code. Syntax highlight would be a plus.</p>
  
  <p>Thanks.</p>
  
  <p>Edit:</p>
  
  <p>I must point out that the package <code>minted</code> is exactly what I was looking for. It has beautiful syntax highlighting and it is very simple to use. Check <a href="https://stackoverflow.com/questions/1966425/source-code-highlighting-in-latex">this question</a> to know more about it.</p>