Last active
December 11, 2017 15:23
-
-
Save AlexBaranowski/0e89c50d2ed96189bfe67f35732194f2 to your computer and use it in GitHub Desktop.
Find all python import in given directory with find && grep.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name '*\.py' -exec grep '^import ' {} \; | sort | uniq > req |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment