Centos7 启动 python脚本

  假设文件夹\home\sks\python3_crawl下面有个test.py 文件

  打开terminal终端:转到root模式

  进入cd /hom/sks/python3_crawl

  执行:python2 test.py

  

猜你喜欢

转载自www.cnblogs.com/shaosks/p/9174262.html