python

python退出

python调用系统命令

json

join

  • '\t'.join(map(str, [1, 2, 3]))

python搭建http服务

  • python -c 执行单行命令/脚本
python -c 'import SimpleHTTPServer as s; s.test()' [可指定port,默认8000]
wget ip:port/file
wget ip:port/file
传输文件加参数 -r
wget -r --no-parent ip:port/

  • python -m SimpleHTTPServer 8000
  • nohup python -m SimpleHTTPServer 8000 &

python 编码

python protobuf

python发送kafka

posted @ 2020-02-01 19:21  baishengguan  阅读(101)  评论(0编辑  收藏  举报