DrawBot could be installed as module, so the import could be available. check: import AppKit appName = AppKit.NSBundle.mainBundle().infoDictionary().get("CFBundleDisplayName") print(appName) appName will be DrawBot, RoboFont or None (in terminal) good luck!