03 2019 档案

摘要:注意:修改一下PATH环境变量 export PATH=/bin:/usr/bin/:. 可以把这句话加到你的.profile或者.bash_profile里,这样每次登录的时候都会生效 阅读全文
posted @ 2019-03-12 10:49 Done、
摘要:# 安装expect yum install expect # 新建脚本文件running #!/usr/bin/expect spawn /usr/bin/ssh root@114.114.114.114 -p 6666 # 用户名、IP地址、端口号自行设置 expect "password:" send "remoteComputerPassword\r" # 密码请自行设置 expect... 阅读全文
posted @ 2019-03-05 19:24 Done、
摘要:#!/usr/bin/env python # -*- coding: utf-8 -*- # @File : doubanmovie.py # @Author: Anthony.waa # @Date : 2019/3/2 0028 # @Desc : PyCharm import requests from lxml import html headers = { 'Us... 阅读全文
posted @ 2019-03-02 15:56 Done、