You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
---
|
|
description: Discover how to use Ultralytics utility functions for file-related operations including incrementing paths, finding file age, checking file size and creating directories.
|
|
keywords: Ultralytics, utility functions, file operations, working directory, file age, file size, create directories
|
|
---
|
|
|
|
# Reference for `ultralytics/utils/files.py`
|
|
|
|
!!! note
|
|
|
|
Full source code for this file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/files.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/files.py). Help us fix any issues you see by submitting a [Pull Request](https://docs.ultralytics.com/help/contributing/) 🛠️. Thank you 🙏!
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.WorkingDirectory
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.spaces_in_path
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.increment_path
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.file_age
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.file_date
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.file_size
|
|
<br><br>
|
|
|
|
---
|
|
## ::: ultralytics.utils.files.get_latest_run
|
|
<br><br>
|