指定python文件python2或python3运行

在文件首行写:

#! python2或#! python3

写在#coding=utf-8前面

 

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