Alan G Isaac wrote: > The listings package is great and highly configurable. > Note that you can also input entire files of Python code > or pieces of them based on markers. Really quite great. I tried listings. I believe pygments makes better formatted output (at least out of the box).