Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from glob import glob
- from pprint import pprint
- def print_jobcard_locations():
- """
- print a list of all jobcard locations in the Balmoral.
- note: recursive search are not supported in python 3.4
- """
- jc01 = glob(r'O:\*\Job Card*\*.xls*')
- jc02 = glob(r'O:\*\Job Card*\*\*.xls*')
- pprint(jc01 + jc02)
- if __name__ == '__main__':
- print_jobcard_locations()
Add Comment
Please, Sign In to add comment