import os ALlGlobs = ['MainApp','MainFrame','MainIcon','ActiveUser', 'Tabs', 'NoteContents', 'NoteLabel', 'HE', 'NEC1', 'NEC2', 'ListName',\ 'UserDataList', 'BrName','CuBrName', 'wikiFile', 'NoteBooks', 'CurrentNotebook','XMLP', 'TMP_DIR'\ 'selectedItem', 'auth', 'ListUpdateCountor','Res'] for i in ALlGlobs: globals()[i] = '' mainDir = os.getcwd() CurrentNotebook = 'NoteBook 1' ListUpdateCountor = 0 from tempfile import gettempdir TMP_DIR = gettempdir() import psyco psyco.full()