python便签

使用 React,Angular 或 Vue.js 构建的单页应用程序已逐渐成为一种规范

轻量级的静态页面
要将Python用作简单的HTTP服务器,只需将您的工作目录更改为具有静态内容和类型的文件夹,
python -m SimpleHTTPServer 8000
该目录中的所有内容均可在http:/localhost:8000/
python -m http.server 8080

https://maxwell-nc.github.io/blog/pelicanBuildBlog.html

 

安装包:

pip3 install bitarray

pip install xml2dict

pip install dict2xml

升级pip:

python -m pip install --upgrade pip

 

cookbook下载地址:

http://blog.songqingbo.cn/pdf/python/PythonCookbook%E7%AC%AC%E4%B8%89%E7%89%88%E4%B8%AD%E6%96%87.pdf

https://github.com/yidao620c/python3-cookbook

https://juejin.cn/post/6844904197058478093

https://www.lizenghai.com/archives/16505.html

http://www.3qphp.com/down/67/7.html

 

sublime配置:(选中高亮)

https://zhuanlan.zhihu.com/p/70914472

https://www.douban.com/note/485846749/

 

pycharm配置:

https://blog.csdn.net/ever_peng/article/details/80089027

 

(增量式解析大型XML文件)
https://python3-cookbook.readthedocs.io/zh_CN/latest/c06/p04_parse_huge_xml_files_incrementally.html
(ElementTree方式解析)
http://www.ityouknow.com/python/2019/12/30/python-xml-104.html
(XML学习资料)
https://docs.python.org/zh-cn/3/library/xml.etree.elementtree.html
https://lxml.de/element_classes.html
(python继承相关)
https://xz.aliyun.com/t/2308
(码农家园)
https://www.codenong.com/3862310/

 

数据大小比较:
if a > b:
    return a

python中的字典是无序的,因为它是按照hash来存储的;
OrderedDict,实现了对字典对象中元素的排序。
d1 = collections.OrderedDict()

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值