博客
关于我
Python内置小工具
阅读量:118 次
发布时间:2019-02-26

本文共 1075 字,大约阅读时间需要 3 分钟。

Python ??????????????????????

?????????????????????????Python ????????????????????????????????????????????????????????????????????FTP????

???????????

?????????????????????Python?????HTTP????????????????????????????????????????????????????

??????????????????????????????8000???????IP???????????????????????????????/usr/local/src?????????

python -m http.server

?????????????http://localhost:8000?????


??????????????

???????????????????????????Python????-c?????????????????????Paramiko??????

python -c "import paramiko"

?????????????????????????????


????Python??zip???

Python?zipfile?????????????????????zip??????????????

  • ??????

    python -m zipfile -c file.zip file1 file2
  • ????????

    python -m zipfile -e file.zip zip-test
  • ????????

    python -m zipfile -l file.zip

?????????????zip??????


??????FTP???

??????FTP???????????pyftpdlib????????????????????????

pip install pyftpdlibpython -m pyftpdlib

???????????????IP????2121?????????????

?????????????????????????

python -m pyftpdlib -i 192.168.1.1 -w -d /tmp/ -u ??? -P ??

???????????????????????????????????????????????Python???????????

转载地址:http://gcgk.baihongyu.com/

你可能感兴趣的文章
oracle 创建字段自增长——两种实现方式汇总
查看>>
Oracle 升级10.2.0.5.4 OPatch 报错Patch 12419392 Optional component(s) missing 解决方法
查看>>
oracle 去重
查看>>
oracle 可传输的表空间:rman
查看>>
Oracle 启动监听命令
查看>>
Oracle 启动阶段 OPEN
查看>>
Oracle 在Drop表时的Cascade Constraints
查看>>
Oracle 在Sqlplus 执行sql脚本文件。
查看>>
Oracle 如何处理CLOB字段
查看>>