|
From: Sathish S <sa...@so...> - 2010-09-09 10:23:21
|
Hi ppl,
I created a class within a module, and tried to import the module in a
script. While importing the module i'm getting the following error. However
I'm able to import these modules in the python IDE
Error code: Error 1050 occurred at PYTHON Execute Script__ogtk.vi->Script
Editor.vi:<type 'exceptions.WindowsError'>,
my module looks like this:
class myclass:
def __init__(self):
...
and I also added the module path using the sys.path.append command
my script is as below
import sys
sys.path.append('....')
import myclass
...
what could be the issue ?
Thanks,
Sathish
|