Y
yab
Hallo,
Why does this work when I type it in a t the interpreter prompt;
def ex(self,cmd):
print 'would do ', cmd
x.ex('test')
would do test
but if I save invoker as invoker.py in a dir that is in sys.path and import it the follwoing happens;
Traceback (most recent call last):
Why does this work when I type it in a t the interpreter prompt;
def ex(self,cmd):
print 'would do ', cmd
x.ex('test')
would do test
but if I save invoker as invoker.py in a dir that is in sys.path and import it the follwoing happens;
Traceback (most recent call last):