I am trying to write a program, which ask for user input for a name
then determines it wither that is module or not, if module then it will tell all its
attributes, methods, function etc
my code:
..........
.
import sys, types, string, inspect
input= sys.argv[1]
print inspect.ismodule(input)
................
here it always give false. as what ever input i take it is string .
my problem is i am not able to take input as a module
help me out !
thanks in advance.
rakesh
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor