Try getting gvim for MacOS vim includes a Python mode with syntax colouring and you can get it to print it out using an HTML representation.
It works well IMHO (on any platform including MacOS). http://www.vim.org/download.php and MacOS specific versions : http://macvim.org/ Scite does the same trick but I don't know how well it runs on MacOS. http://mailman.lyra.org/pipermail/scintilla-interest/2003-May/002756.html Alan G. ----- Original Message ----- From: "Lance E Sloan" <[EMAIL PROTECTED]> To: <tutor@python.org> Sent: Tuesday, January 03, 2006 2:12 PM Subject: [Tutor] Python code pretty-print? >A colleague of mine often develops Python code under Mac OS X. He would >like to be able to print the code in an easily readable format. He's found >that kwrite on Linux does a very nice job, but it's inconvenient to copy >his code to a Linux box just to print it out. > > We've found mention (mostly in manpages) of a program called "pyhtmlizer", > but couldn't find source or binary for it. > > Can anybody recommend a similar tool that we can use on Mac OS X? > > Thanks! > > -- > Lance E Sloan, Systems Research Programmer III > U-M WATS: Web Applications, Technologies, and Solutions > Full-service web and database design, development, and hosting. > http://www.itcs.umich.edu/wats/ - "Putting U on the Web" > > > _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor