I have to print to PDF a discrete amount of python script. The code should be included as text, rather than image, as it must be checked by an anti-plagiarism mechanism (I do not have to take care of this, it is just requested that the pdf is not made from an image, that's all). It is also necessary to have syntax highlighting.
Do you have any suggestion regarding a specific tool for this?