Re: How to tailor output of help()

2009-12-26 Thread Kyle
> Try setting the __all__ variable in your module to a list of the names > you want your module to export. Perfect. Thanks for the help. -- http://mail.python.org/mailman/listinfo/python-list

Re: How to tailor output of help()

2009-12-24 Thread Steve Holden
Kyle wrote: > Hi all, > I'm a graduate student in the physical sciences and still new to > Python. I'm writing a module of often-used code and have included > several math functions in my module via > > from math import cos > > and similarly for other functions. When I input help(mymodule) into >

How to tailor output of help()

2009-12-24 Thread Kyle
Hi all, I'm a graduate student in the physical sciences and still new to Python. I'm writing a module of often-used code and have included several math functions in my module via from math import cos and similarly for other functions. When I input help(mymodule) into the console, cos() and its do