
pycharm
今天只卖大白菜
今天只卖大白菜,懒散的程序员
码云:
https://gitee.com/caicaizai/projects
展开
-
Python 使用普通用户登录并切换Root执行shell
#coding=utf-8 import paramiko,time def verification_ssh(host,username,password,port,root_pwd,cmd): s = paramiko.SSHClient() s.load_system_host_keys() s.set_missing_host_key_policy(paramiko.AutoAddPolicy()) s.connect(hostname = host,port=原创 2021-01-09 08:26:13 · 1841 阅读 · 1 评论 -
Pycharm创建python虚拟环境
Pycharm创建python虚拟环境 打开File -> Settings 找到Project Interpreter 选择右边的齿轮图标,点击Add 如下图所示,选择放虚拟环境包的文件夹,点击OK 小拓展 利用requirements.txt安装python的包的命令: pip install - r requirements.txt 生成requir...原创 2019-05-16 17:45:02 · 1942 阅读 · 0 评论