
树莓派
liudijiang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
替换安装包源解决 connect to mirrors.opencas.cn fail问题
在安装xrdp的时候,一直抱 connect to mirrors.opencas.cn fail,解决方案是替换掉原来的安装源1) 修改 /etc/apt/sources.list 文件sudo vim /etc/apt/sources.list 1#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-...原创 2018-06-15 00:28:24 · 9056 阅读 · 0 评论 -
python ftp 按目录结构上传下载
#!/usr/bin/python# coding=utf-8from ftplib import FTPimport timeimport osdef __ftp_upload(ftp,local,remote,isDel=False): if os.path.isdir(local): for f in os.listdir(local): ...原创 2018-09-12 09:14:06 · 1044 阅读 · 0 评论 -
安装 python configparser 模块
1、安装pipsudo apt-get install python-pip2、安装configparser 模块sudo pip install configparser3、测试$ python>>> import configparser没有报错说明没有问题了...原创 2018-09-07 13:37:58 · 24217 阅读 · 0 评论 -
安装python paramiko模块
1、安装PyCrypto模块wget https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.1.tar.gztar zxf pycrypto-2.6.1.tar.gzcd pycrypto-2.6.1/sudo python setup.py install2、安装paramiko模块sudo apt-get...原创 2018-09-07 13:57:54 · 5097 阅读 · 0 评论