How to setup Atom's script to run Python 3.x scripts? May the combination with Windows 7 Pro x64 be the issue?

后端 未结 9 599
滥情空心
滥情空心 2020-12-01 09:37

I\'m trying to switch from Notepad++ to Atom, but I just can\'t manage to get my scripts executed in Atom.

I followed this answer (so I already installed scr

9条回答
  •  伪装坚强ぢ
    2020-12-01 10:39

    For Linux and Mac, adding environment in the script will pick correct python version. (command + I to run)

    for running with python3

    #!/usr/bin/env python3
    

提交回复
热议问题