On Thursday 16 June 2005 02:19 pm, harold fellermann wrote:
> On 16.06.2005, at 20:59, Shankar Iyer ([EMAIL PROTECTED]) wrote:
> > Suppose I have a string, sModuleName, that contains the name of a
> > module. I now want to see what functions are in that module, but if I
> > call dir(sModuleName)
Shankar Iyer ([EMAIL PROTECTED]) wrote:
> Hi,
>
> Suppose I have a string, sModuleName, that contains the name of a module. I
> now want to see what functions are in that module, but if I call
> dir(sModuleName), I instead get the list of operations that can be done on a
> string. Is there an
What about
[EMAIL PROTECTED]:~ $ python
Python 2.4.1 (#2, Mar 30 2005, 21:51:10)
[GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
py > x = __import__('sys')
py > dir(x)
['__displayhook__', '__doc__', '__excepthook__', '__name__',
On 16.06.2005, at 20:59, Shankar Iyer ([EMAIL PROTECTED]) wrote:
> Hi,
>
> Suppose I have a string, sModuleName, that contains the name of a
> module. I now want to see what functions are in that module, but if I
> call dir(sModuleName), I instead get the list of operations that can
> be done