restructured text in python

bdsatish bdsatish at gmail.com
Thu Apr 24 07:13:49 EDT 2008


Hi all,

I have a python prog:


#!/usr/bin/env
"""
Author: BDS
Version: 1.0
"""

def  Hello():
    """ Prints a Hello World to the screen"""
    print "Hello, World"

if __name__ == "__main__":
        Hello()

I want to use ReSt (reStructuredText) in my docstrings or comments.
Any example of how to do it, w.r.t. above code ? Also how to invoke
rst on the Python code to do the processing ?

I know how to write in  RST but I want to know how to process the
resulting Python code



More information about the Python-list mailing list