M
M
m00nkey2014-11-05 13:08:57
linux
m00nkey, 2014-11-05 13:08:57

How in python3 to find the newest new directory in a directory, and assign its name to a variable?

Greetings!
I couldn't google unfortunately.
How in python3 to find the newest new directory in a directory, and assign its name to a variable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Benkovsky, 2014-11-05
@m00nkey

And you try not to google the finished solution, but break it into subtasks and google them. See:
1. Find all directories in a directory stackoverflow.com/questions/973473/getting-a-list-...
2. Find the creation date of a directory stackoverflow.com/questions/7631843/python-how-to-...
3 How to sort, please find yourself
ps. I don't know python at all but I was able to google it in 2 minutes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question