推荐FastApi,这两年异军突起的网红web框架,适合新手快速入门。
总的来说,FastAPI有三个优点:快、简、强。
它的自我标签就是:FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints
Linux一次执行多条命令:使用for
for id in 111 222 ; do echo $id ; done
for ((a=1;a<=6;a++)) ; do echo $(du -sh /tmp); done
for id in {1..10} ; do echo $id; done
awk
输出奇数行
awk '{if(FNR%2!=0) print FNR$0}' 1.tx