#!/usr/local/bin/python2 import tokenize import importlib print tokenize.__file__ print tokenize.__name__ importlib.util.spec_from_file_location(tokenize.__name__, tokenize.__file__)