开始学习使用Python

最近想整理一下自己的一些数据, 想用合适的工具来实现, 想了想发现可能还是Python比较合适, 但过去这么多年我几乎没有学过Python.

写cli的时候找了一下库,发现了 https://typer.tiangolo.com/ ,使用简单,功能丰富, 感觉Python真是一个不容错过的好语言~

https://xon.sh/ Xonsh is a Python-powered, cross-platform, Unix-gazing shell language and command prompt. The language is a superset of Python 3.6+ with additional shell primitives that you are used to from Bash and IPython. It works on all major systems including Linux, OSX, and Windows. Xonsh is meant for the daily use of experts and novices. python的超集,可以直接在python代码中使用shell语法执行shell任务,算是多年来对bash的case if 循环,函数调用等语法非常不满意的我,所遇到最好的shell scripting方案了,以后这类任务都使用xonsh了。