I have looked at all the answers on this forum but I\'m missing something. I want to be able to hit Cmd+B while editing a Python file \"myfile.py\" in
The answer is much more simple than your approach.
Just define a new build "profile" (Build system), in it you capture exactly the default Python build, except changing option -u to -ui
{ "cmd": ["C:\\python33\\python.exe", "-ui", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.python" }