使用 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()