Python code in presentations

Rustom Mody rustompmody at gmail.com
Tue Sep 30 15:23:06 CEST 2014


On Tuesday, September 30, 2014 5:21:00 PM UTC+5:30, Jean-Michel Pichavant wrote:
> Hello list,
> I'm currently writing a presentation to help my co-workers ramp up on new features of our tool (written in python (2.7)).
> I have some difficulties presenting code in an efficient way (with some basic syntax highlights). I need to be catchy about the code I'm presenting otherwise the presentation will fail and I would be better saying to my co-workers "RTFM", cause there is a manual.
> So I really need to make them realize the code I'm presenting will benefit them (they're not software engineers, python is just a tool, their expertise and focus is aimed at something else, don't blame them :) )
> Right now the method I'm using is write the code in notepad++, use a plugin (NppExport) to copy paste code into powerpoint.
> After using it a little bit, I'm really not satisfied with this method, it's expensive and all this copy paste stuff is driving me crazy. Not to mention that the syntax highlight from notepads renders like crap in powerpoint.
> I wonder if some people in this list who have successfully presented python code have some tips about doing the proper way. Ned's presentations for pycons are to me one example of successful code presentation:
>   - the layout is simple
>   - the code and code output are clearly identified
>   - a line of code can be highlighted while presenting
> http://nedbatchelder.com/text/iter.html
> I have access to powerpoint, or any tool under linux (I don't have access to Mac's stuff).
> Right now I'm so not satisfied by my current method that I'm about to make the presentation showing the code from the file directly, alt-tabing between the slides and the code. At least it's cheap.

Org mode's babel system is touted for exactly this:
http://www.jstatsoft.org/v46/i03/paper


[I must confess that Ive not quite got my teeth into it]



More information about the Python-list mailing list