小言_互联网的博客

python乱七八糟的笔记

396人阅读  评论(0)

curl -sL https://rpm.nodesource.com/setup_6.x  |  bash  -  

yum install -y nodejs


开通5000端口


python


Python 2.7.5 (default, Jun 20 2019, 20:27:34)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] on linux2
Type "help", "copyright", "credits" or "license" for more information.


下载以下文件
wget -c https://repo.anaconda.com/archive/Anaconda3-2019.07-Linux-x86_64.sh
然后安装这个文件

bash Anaconda3-2019.07-Linux-x86_64.sh


pip freeze

pip install pyexecjs

yum install screen

screen下运行 
 screen -S 名字
 screen -ls
 screen python app.py

运行监听  python app.py


python  serverdate.py start|stop|restart

python  serverdate.py start


flask的文档
http://docs.jinkan.org/docs/flask/


转载:https://blog.csdn.net/neizhiwang/article/details/101785594
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场