#Write a Python program to get a directory listing, sorted by creation date.

#02_15_21

import os

directories = os.listdir(".") #"." represents current directory
directories.sort(key= os.path.getctime)
print("\n".join(directories))
b4d257952378db4ec20edf330156a68dd3876234
<mask token>

<mask token>
directories.sort(key=os.path.getctime)
print('\n'.join(directories))

<mask token>
directories = os.listdir('.')
directories.sort(key=os.path.getctime)
print('\n'.join(directories))

import os
directories = os.listdir('.')
directories.sort(key=os.path.getctime)
print('\n'.join(directories))

#Write a Python program to get a directory listing, sorted by creation date.

#02_15_21

import os

directories = os.listdir(".") #"." represents current directory
directories.sort(key= os.path.getctime)
print("\n".join(directories))