Skip to content

Instantly share code, notes, and snippets.

@BlazerYoo
Last active June 28, 2021 02:32
Show Gist options
  • Save BlazerYoo/f47251822c2fa1521d802a02af394de5 to your computer and use it in GitHub Desktop.
Save BlazerYoo/f47251822c2fa1521d802a02af394de5 to your computer and use it in GitHub Desktop.
Terminal print number of files in current directory
python -c "import os;print(len(os.listdir(os.getcwd())))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment