Completely clueless non-programmer here.
I followed the top answer in this link last night to remove Python 2.7, because I want my Mac to stop running 2.7 and start running 3.5.
But now, it won't run any Python scripts at all.
I tried to reinstall both Python 2.7.12 and Python 3.5.2 using the official packages they provide on Python.org, but nothing works.
Python files that used to run fine now won't build in Atom, Sublime Text 3, and Python's Launcher and IDLE.
The error message is always something like this:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't find '__main__' module in ''
[Finished in 0.1s with exit code 1]
[shell_cmd: python -u ""]
[dir: /Applications/Sublime Text.app/Contents/MacOS]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
How can I fix this?