utils.get_latest_file

  1. utils.get_latest_file(path)

Return the file named ‘path_[0-9]*’ with the largest such number.

Args:

  • path: The base path (including directory and base name) to search.

Returns:

The latest file (in terms of given numbers).