Reading python code from external file