def browseprofile(profilelog):
    '''
    Browse interactively a profile log in console
    '''
    print('Starting the pstats profile browser...\n')
    try:
            browser = ProfileBrowser(profilelog)
            print >> browser.stream, "Welcome to the profile statistics browser. Type help to get started."
            browser.cmdloop()
            print >> browser.stream, "Goodbye."
    except KeyboardInterrupt:
            pass
def browseprofile ( profilelog ) : print ( 'Starting the pstats profile browser...\n' ) try : browser = ProfileBrowser ( profilelog ) print >> browser . stream , "Welcome to the profile statistics browser. Type help to get started." browser . cmdloop ( ) print >> browser . stream , "Goodbye." except KeyboardInterrupt : pass
Browse interactively a profile log in console