<s> from UcsSdk import * <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> try : <EOL> handle = UcsHandle ( ) <EOL> handle . Login ( "<STR_LIT>" , "<STR_LIT:username>" , "<STR_LIT:password>" ) <EOL> BackupFilePath = r"<STR_LIT>" <EOL> handle . ImportUcsBackup ( path = BackupFilePath ) <EOL> handle . Logout ( ) <EOL> except Exception , err : <EOL> handle . Logout ( ) <EOL> print "<STR_LIT>" , str ( err ) <EOL> import traceback , sys <EOL> print '<STR_LIT:->' * <NUM_LIT> <EOL> traceback . print_exc ( file = sys . stdout ) <EOL> print '<STR_LIT:->' * <NUM_LIT> </s>
