Does anyone know if it is possible to add 'help' documentation to my own
user-defined functions?  What I want is to be able to define a new PyMOL
command by executing the following script:


#------------------

def some_func:

        '''
        Some help docs here...

        '''

        # Python code here...

cmd.extend("some_func", some_func)

#------------------

... and then type 'help some_func'.

Gareth

-- 
Gareth Stockwell <gar...@ebi.ac.uk>
European Bioinformatics Institute


Reply via email to