def browseprofilegui(profilelog):
    '''
    Browse interactively a profile log in GUI using RunSnakeRun and SquareMap
    '''
    from runsnakerun import runsnake # runsnakerun needs wxPython lib, if it's not available then we can pass if we don't want a GUI. RunSnakeRun is only used for GUI visualisation, not for profiling (and you can still use pstats for console browsing)
    app = runsnake.RunSnakeRunApp(0)
    app.OnInit(profilelog)
    #app.OnInit()
    app.MainLoop()
def browseprofilegui ( profilelog ) : from runsnakerun import runsnake app = runsnake . RunSnakeRunApp ( 0 ) app . OnInit ( profilelog ) app . MainLoop ( )
Browse interactively a profile log in GUI using RunSnakeRun and SquareMap