Skip to content

Instantly share code, notes, and snippets.

@mrakitin
Created October 6, 2021 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrakitin/45bccccd5da283d3c3d70dc271edc667 to your computer and use it in GitHub Desktop.
Save mrakitin/45bccccd5da283d3c3d70dc271edc667 to your computer and use it in GitHub Desktop.
Find Python package modules
$ git clone https://github.com/NSLS-II/nslsii.git
$ cd nslsii/
$ find nslsii -name "*.py" | grep -v tests | sed 's/.__init__.py//g' | sed 's;/;.;g' | sed 's/\.py$//g' | sort
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment