Ken Seehof kseehof at
Sun Jun 9 07:09:21 CEST 2002

Gold Fish wrote:

> Anyone can tell me how can i run the script with the argumemt 
> such as python 
> -o 
> What i have to write in script.

Use sys.argv.  It should look something like this:

>>> import sys
>>> sys.argv
['', '-o']

> And if i want to render the 
> script in html 
> format hov can i do that

Do you mean render the script itself, or the output of the
script?  If you mean "render the script", you need py2html.  

There are a few versions around.  Google for py2html, or
look at one of these:

If that is not what you mean, you need to be much more

- Ken Seehof

More information about the Python-list mailing list