Re: Preparing teaching materials

2009-03-21 Thread grkuntzmd
Very nice. I printed out the PDF manual for sphinx. I'll take a look at it. -- http://mail.python.org/mailman/listinfo/python-list

Re: Preparing teaching materials

2009-03-21 Thread Rhodri James
On Fri, 20 Mar 2009 11:58:18 -, grkunt...@gmail.com wrote: I am considering teaching a beginning programming course using Python. I would like to prepare my class handouts in such a way that I can import the Python code from real .py files directly into the documents. This way I can run

Crunchy [Was: Preparing teaching materials]

2009-03-21 Thread andrew cooke
André wrote: If I may suggest a very different alternative than the ones already suggested: use Crunchy. (http://code.google.com/p/crunchy) You can have you handouts (html or reStructuredText documents) live on the web with all your code samples executable from within Firefox. If you don't

Re: Crunchy [Was: Preparing teaching materials]

2009-03-21 Thread Andre Roberge
On Sat, Mar 21, 2009 at 5:06 PM, andrew cooke and...@acooke.org wrote: André wrote: If I may suggest a very different alternative than the ones already suggested: use Crunchy. (http://code.google.com/p/crunchy) You can have you handouts (html or reStructuredText documents) live on the

Re: Preparing teaching materials

2009-03-21 Thread R. David Murray
Rhodri James rho...@wildebst.demon.co.uk wrote: On Fri, 20 Mar 2009 11:58:18 -, grkunt...@gmail.com wrote: I am considering teaching a beginning programming course using Python. I would like to prepare my class handouts in such a way that I can import the Python code from real .py

Preparing teaching materials

2009-03-20 Thread grkuntzmd
I am considering teaching a beginning programming course using Python. I would like to prepare my class handouts in such a way that I can import the Python code from real .py files directly into the documents. This way I can run real unit tests on the code to confirm that they work as expected. I

Re: Preparing teaching materials

2009-03-20 Thread Tim Golden
Michele Simionato wrote: On Mar 20, 12:58 pm, grkunt...@gmail.com wrote: I am considering teaching a beginning programming course using Python. I would like to prepare my class handouts in such a way that I can import the Python code from real .py files directly into the documents. This way I

Re: Preparing teaching materials

2009-03-20 Thread Michele Simionato
On Mar 20, 12:58 pm, grkunt...@gmail.com wrote: I am considering teaching a beginning programming course using Python. I would like to prepare my class handouts in such a way that I can import the Python code from real .py files directly into the documents. This way I can run real unit tests

Re: Preparing teaching materials

2009-03-20 Thread Michele Simionato
On Mar 20, 1:44 pm, Tim Golden m...@timgolden.me.uk wrote: Michele Simionato wrote: One word: Sphinx. And the second word(s): ..  literalinclude:: example.py TJG The interesting thing is that Sphinx uses pygments and can highlight any code fragment, not only Python code. For instance,

Re: Preparing teaching materials

2009-03-20 Thread Tim Golden
Michele Simionato wrote: The interesting thing is that Sphinx uses pygments and can highlight any code fragment, not only Python code. For instance, last week I did some experiment with Sphinx to convert my Adventures of a Pythonista in Schemeland (which contains Scheme code) to PDF and it

Re: Preparing teaching materials

2009-03-20 Thread Michele Simionato
On Mar 20, 3:05 pm, Tim Golden m...@timgolden.me.uk wrote: Michele Simionato wrote: http://www.phyast.pitt.edu/~micheles/scheme/TheAdventuresofaPythonist... (I think the OP may be interested in how the PDF output of Sphinx-generated documents may look like). That looks really snappy. Do

Re: Preparing teaching materials

2009-03-20 Thread Terry Reedy
Michele Simionato wrote: The interesting thing is that Sphinx uses pygments and can highlight any code fragment, not only Python code. For instance, last week I did some experiment with Sphinx to convert my Adventures of a Pythonista in Schemeland (which contains Scheme code) to PDF and it

Re: Preparing teaching materials

2009-03-20 Thread André
On Mar 20, 8:58 am, grkunt...@gmail.com wrote: I am considering teaching a beginning programming course using Python. I would like to prepare my class handouts in such a way that I can import the Python code from real .py files directly into the documents. This way I can run real unit tests on