Advertisement
Guest User

Untitled

a guest
Jun 6th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. from __future__ import print_function
  2.  
  3. import os
  4.  
  5. import test
  6. from test import *
  7.  
  8. if os.path.isfile(test.SAVE_FILE):
  9.     t = test.Thing.load(test.SAVE_FILE)
  10.     print('Loaded file:', t)
  11. else:
  12.     print('Nothing to load.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement