I have seen the other threads on this and it is either not fully explained or just too confusing. i am new! Thank you in advance, for now i just paste "#!/Library/Frameworks/Python.framework/Versions/3.7/bin/python3"
in the top of every .py file and it does it, and im using script. not sure how to permanitly make it run python 3.
bump
If you want to use Python3 by default, you can open Atom Settings,
Atom→Preferences→Open Config Folder, and open.atom/packages/script/lib/grammars/python.coffee, Changingpythontopython3under'Selection Based'and'File Based', saving it.
It is works for me.
Thank you! Only solution that worked.
Grant
On Mar 14, 2019, at 10:02 PM, Lokkie Ho notifications@github.com wrote:
1787 https://github.com/rgbkrk/atom-script/pull/1787
If you want to use Python3 by default, you can open Atom Settings, Atom→Preferences→Open Config Folder, and open.atom/packages/script/lib/grammars/python.coffee, Changing python to python3 under 'Selection Based' and 'File Based', saving it.
It is works for me.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rgbkrk/atom-script/issues/1797#issuecomment-473159819, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq2h6eA1hDm16UAqLYPZd1iCTw2w6bxGks5vWyljgaJpZM4afL5y.
In my opinion this should be more easily configurable or script should detect whether it is an python2 or python3 script. I'll consider making a patch / pull request for this or at least opening an improvement proposal (issue) for this.
Most helpful comment
1787
It is works for me.