1、切换到项目根目录下:sudo find . -name "*.py" | xargs wc -l
2、绝对路径查看:sudo find /home/xiangmu/ -name "*.py" | xargs wc -l