Advertisement
Guest User

shelf

a guest
Jul 11th, 2015
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. import os
  2.  
  3. try:
  4. ktools = os.environ["K_TOOLS"]
  5. except:
  6. print "K_TOOLS environment variable not correctly configured"
  7. else:
  8. import sys
  9. path = ktools
  10.  
  11. if not path in sys.path:
  12. sys.path.append(path)
  13.  
  14. import System.testFile as testFile
  15. reload(testFile)
  16.  
  17. if __name__ == "__main__":
  18. try:
  19. ui.close()
  20. except:
  21. pass
  22. ui = testFile.ClassName()
  23. ui.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement