![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
神经娃娃
这个作者很懒,什么都没留下…
展开
-
jupyter配置远程登录
然后根据提示输入两次设置的密码,完事儿就会生成一个json文件(/root/.jupyter/jupyter_notebook_config.json),会包含一个密码的字符串"sha1:xxxxxxxx",把这个字符串复制好,粘贴到生成的配置文件里。在命令行输入jupyter notebook --generate-config,然后就自动生成一个.jupyter的文件夹(默认地址在 /root/.jupyter/jupyter_notebook_config.py),里面有一份配置文件,原创 2023-06-09 16:51:30 · 510 阅读 · 1 评论 -
python连接ftp
from ftplib import FTP # 加载ftp模块ip = '127.0.0.1'port = 21 # int 类型username = 'ftp'password = '111111'ftp = FTP() # 设置变量ftp.connect(ip,port ) # 连接的ftp sever和端口ftp.login(username, password) # 连接的用户名,密码ftp.cwd('path') # 切换工作目录print(ftp.nlst()原创 2021-08-31 15:52:30 · 1714 阅读 · 0 评论 -
paramiko连接centos7使用某些命令提示command not found
python连接centos7使用某些命令提示原创 2021-08-31 10:41:25 · 991 阅读 · 0 评论