B
B
Bream23192020-06-22 08:14:33
Python
Bream2319, 2020-06-22 08:14:33

How can python find the most recent file in a folder?

There is a folder, files with random names are created in the folder.
I need to get the name of the most recent one and just output it.
Can this be done using python?
I know how to organize it in C# using FileSystemInfo, but python just started to get interested.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-06-22
@approximate_solution

https://stackoverflow.com/questions/39327032/how-t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question