def ohelp(func): """ohelp(func) Navigate browser to the online Octave documentation for function specified in the 'func' parameter. func - can be either a function object or a string containing the name of the function. """ fname = _func2str(f) #f0 = fname[0].upper() #if f0 == '_': f0 = 'Z' #elif not f0.isalpha(): f0 = 'A' OURL = 'http://octave.sourceforge.net/doc/f/%s.html' _webopen(OURL % (fname))
def ohelp(func): """ohelp(func) Navigate browser to the online Octave documentation for function specified in the 'func' parameter. func - can be either a function object or a string containing the name of the function. """ fname = _func2str(f) #f0 = fname[0].upper() #if f0 == '_': f0 = 'Z' #elif not f0.isalpha(): f0 = 'A' OURL = 'http://octave.sourceforge.net/doc/f/%s.html' _webopen(OURL%(fname))
def mhelp(f): """mhelp(func) Navigate browser to the online MATLAB(R) documentation for function specified in the 'func' parameter. func - can be either a function object or a string containing the name of the function. """ fname = _func2str(f) MURL = 'http://www.mathworks.com/access/helpdesk/help/techdoc/index.html'\ '?/access/helpdesk/help/techdoc/ref/%s.html' return _webopen(MURL % fname)
def mhelp(f): """mhelp(func) Navigate browser to the online MATLAB(R) documentation for function specified in the 'func' parameter. func - can be either a function object or a string containing the name of the function. """ fname = _func2str(f) MURL = 'http://www.mathworks.com/access/helpdesk/help/techdoc/index.html'\ '?/access/helpdesk/help/techdoc/ref/%s.html' return _webopen(MURL%fname)