I am seeing the message below when trying to work with Python 3 in Sublime Text 3. I have previously been able to use Sublime with Python and if I open programs I wrote when it was working they will still work. However, if I copy and past them into a new file they will no longer work and I get the following message.
/usr/local/opt/python/bin/python3.7: can’t find ‘main’ module in ‘’
[Finished in 0.1s with exit code 1]
[cmd: [’/usr/local/bin/python3’, ‘-u’, ‘’]]
[dir: /Users/*****/Desktop/python_work]
[path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]