Silly python question
Posted: Thu Aug 02, 2012 8:44 pm
Hello,
One quick question -- I have two python scripts that use the same function. I want to factor the code and put these into a seperate file, say Common.py. In each of the files I include a statement
from Common import *
When I run unopkg add I get the following error....
ERROR: Couldn't load file...for reason type Common.* is unknown
Thanks,
Saleem
One quick question -- I have two python scripts that use the same function. I want to factor the code and put these into a seperate file, say Common.py. In each of the files I include a statement
from Common import *
When I run unopkg add I get the following error....
ERROR: Couldn't load file...for reason type Common.* is unknown
Thanks,
Saleem