Advertisement
bluelightningnz

Untitled

Aug 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. python() {
  2. if os.path.exists('path/to/file'):
  3. d.setVar('SOMEVAR', 'exists')
  4. else:
  5. d.setVar('SOMEVAR', 'doesnotexist')
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement