'Create a .pth file with a comment, blank lines, an ``import
<self.imported>``, a line with self.good_dirname, and a line with
self.bad_dirname.
Creation of the directory for self.good_dir_path (based off of
self.good_dirname) is also performed.
Make sure to call self.cleanup() to undo anything done by this method.'

def create(self):

    FILE = open(self.file_path, 'w')
    try:
        print >>FILE, '#import    @bad    module    name'
        print >>FILE, '\n'
        print >>FILE, ('import    %s' % self.imported)
        print >>FILE, self.good_dirname
        print >>FILE, self.bad_dirname
    finally:
        FILE.close()
    os.mkdir(self.good_dir_path)
