shell

02 2018 档案

摘要:nohup python -m SimpleHTTPServer 8000 > myout.file 2>&1 & #!/bin/bashkill `ps -ef | grep http.server| grep -v grep|awk '{print $2}'`cd /home/liuyoushu 阅读全文
posted @ 2018-02-26 10:04 devops运维 阅读(268) 评论(0) 推荐(0) 编辑
摘要:import smtplib from email.mime.text import MIMEText from email.header import Header # 发送邮箱服务器 smtpserver = 'smtp.sina.com' # 发送邮箱用户/密码 user = 'username@sina.com' password = '123456' # 发送邮箱 sender = ... 阅读全文
posted @ 2018-02-05 15:28 devops运维 阅读(205) 评论(0) 推荐(0) 编辑

python
点击右上角即可分享
微信分享提示