Guest User

Untitled

a guest
Jun 20th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. from glob import glob
  2. from pprint import pprint
  3.  
  4.  
  5. def print_jobcard_locations():
  6. """
  7. print a list of all jobcard locations in the Balmoral.
  8. note: recursive search are not supported in python 3.4
  9. """
  10. jc01 = glob(r'O:\*\Job Card*\*.xls*')
  11. jc02 = glob(r'O:\*\Job Card*\*\*.xls*')
  12. pprint(jc01 + jc02)
  13.  
  14.  
  15. if __name__ == '__main__':
  16. print_jobcard_locations()
Add Comment
Please, Sign In to add comment