链接:
python入门和基础:
CMD模式下运行python文件命令:
1、CMD模式
直接运行(python+绝对路径):$python xxx/xxx/xxx.py
2、CMD输入python进入Python交互模式:
1>执行某个py文件(execfile('文件绝对路径')):$>>>execfile('xxx/xxx/xxx.file')
2>结束交互模式:quit()
链接:
mysql:
>mysql用命令导出文件报错问题:
mysql> select * from employee
-> into outfile '/users/mr.yang/desktop/employee.txt';
报错原因:
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
解决方案:(目前为解决)
requests:
在服务器部署python代码:
apachectl:
nginx:
end