code: 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:
              pasf 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
docs: Browse interactively a profile log in console