摘要: #!/bin/env/bash find . -type f |grep py|xargs grep -E '^from|^import'| awk -F "py:" {'print $2'}|sort|uniq>res0.log sed -i 's/from/import/g' res0.log 阅读全文