SHARE
TWEET

shelf run

a guest Jul 31st, 2015 208 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.                 ui2.close()
  20.         except:
  21.                 pass
  22.         ui2 = testFile.ClassName()
  23.         ui2.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top