Skip to content

Instantly share code, notes, and snippets.

@darkmavis1980
Created September 20, 2018 15:13
Show Gist options
  • Save darkmavis1980/a930cf26a9ae7c6a8779e0d92cb99f86 to your computer and use it in GitHub Desktop.
Save darkmavis1980/a930cf26a9ae7c6a8779e0d92cb99f86 to your computer and use it in GitHub Desktop.
Simple python test script to retrieve the files of the current directory
import os
files = os.listdir(os.curdir)
for file in files:
print(f'- {file}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment