a guest Feb 13th, 2018 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/usr/bin/env python3
- import subprocess
- lsOutput = subprocess.check_output(["ls", "-1"])
- lsOutputString = lsOutput.decode("utf-8").splitlines()
- zipString = ".zip"
- zipsList = 
- for filename in lsOutputString:
- if zipString in filename:
RAW Paste Data