from common.URLTool import URLTool
tool = URLTool()
Traceback (most recent call last):
File E:\workspace\url\test.py, line 7, in ?
from common.URLTool import URLTool
ImportError: No module named common.URLTool
URLTools is a class write by myself, it works well ,but cannot be
imported in
On 08/08/2011 02:45 AM, smith jack wrote:
from common.URLTool import URLTool
could it be that you meant
from common import URLTool
As I don't know the module 'common' I am just guessing
tool = URLTool()
Traceback (most recent call last):
File E:\workspace\url\test.py, line 7, in ?