python实用总结

时间:2021-06-09 10:40:33   收藏:0   阅读:0

Python3

1. 命令行快速搭建本地http服务器

python3 -m http.server 8000

在命令行中输入此命令,就会在当前目录下搭建http服务器,可以通过访问http://localhost:8000/查看,
这样就可以用同一网段的设备从这个http服务器下载文件

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!