# This also works for directories directly under the current # directory. However to make it work you need a file # in the 'dir1' directory called __init__.py # (That file can be empty... it is there to tell Python: this is # a directory of Python modules) # # Using this method you must use dot notation to import like I've # done below. # # See http://docs.python.org/tut/node8.html from dir1.circle import * c = Circle(12) print c