def already_existing1(): pass def already_existing2(): pass from main import C C().method() def already_existing3(): pass