指定python文件python2或python3运行

在文件首行写:

#! python2或#! python3

写在#coding=utf-8前面

 

posted @ 2018-01-17 16:18  leeQQQ  阅读(763)  评论(0编辑  收藏  举报