How to configure Atom to run Python3 scripts?

前端 未结 8 1159
南旧
南旧 2020-11-27 19:12

In my terminal, I type $ which python3, outputting

/opt/local/bin/python3

I would like to configure Atom to run Python3 scrip

8条回答
  •  無奈伤痛
    2020-11-27 19:56

    i am using "script" package (3.18.1 by rgbkrk) to run code inside atom and this is how i fixed it

    1. open package settings -> view code
    2. open lib -> grammars -> python.coffee
    3. change from python to python3 in those two places 'Selection Based' and 'File Based'

提交回复
热议问题