original_docstring: 
      Process the file created by the IDE into a log of builds,
      which it will put in the folder 'data'.
      By default it will look for the idea.log file in the default places for Android Studio versions 4.2 and 4.1.
      Pass an argument to look in a different place instead
      
docstring: Process the file created by the IDE into a log of builds,
  which it will put in the folder 'data'.
  By default it will look for the idea.log file in the default places for Android Studio versions 4.2 and 4.1.
  Pass an argument to look in a different place instead
docstring_tokens: Process the file created by the IDE into a log of builds which it will put in the folder ' data ' . By default it will look for the idea . log file in the default places for Android Studio versions 4 . 2 and 4 . 1 . Pass an argument to look in a different place instead
code: def main(args):
      """
      Process the file created by the IDE into a log of builds,
      which it will put in the folder 'data'.
      By default it will look for the idea.log file in the default places for Android Studio versions 4.2 and 4.1.
      Pass an argument to look in a different place instead
      """
      if args:
          if "--help" in args:
              print("This script takes one argument: the log file to parse.")
              return
          path = args[0]
      else:
          path = guess_path_to_idea_log()
      if not path:
          print(
              "unable to locate 'idea.log'! You can find it in your JetBrains IDE on the 'help' menu - 'Show log in Finder'. You should give the full path to idea.log as an argument to this script.")
          return
  
      data_folder = Path.cwd() / "data"
      if not data_folder.exists():
          os.mkdir(data_folder)
      output = data_folder / output_filename()
      print(f"Will parse log file {path} and write builds to {output}")
      parse_idea_log(path, output)
code_tokens: def main ( args ) : if args : if "--help" in args : print ( "This script takes one argument: the log file to parse." ) return path = args [ 0 ] else : path = guess_path_to_idea_log ( ) if not path : print ( "unable to locate 'idea.log'! You can find it in your JetBrains IDE on the 'help' menu - 'Show log in Finder'. You should give the full path to idea.log as an argument to this script." ) return data_folder = Path . cwd ( ) / "data" if not data_folder . exists ( ) : os . mkdir ( data_folder ) output = data_folder / output_filename ( ) print ( f"Will parse log file {path} and write builds to {output}" ) parse_idea_log ( path , output )
short_docstring: Process the file created by the IDE into a log of builds,
  which it will put in the folder 'data'.
short_docstring_tokens: Process the file created by the IDE into a log of builds which it will put in the folder ' data ' .
comment: """
      Process the file created by the IDE into a log of builds,
      which it will put in the folder 'data'.
      By default it will look for the idea.log file in the default places for Android Studio versions 4.2 and 4.1.
      Pass an argument to look in a different place instead
      """