import os

path = 'F:\python17\pythonPro\MemortAssit\data/bkup'
files = os.listdir(path)
minFileName = None
minFileTime = 0
for file in files:
    if minFileTime == 0:
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
    else:
        if minFileTime > os.path.getctime(path + '/' + file):
            minFileTime = os.path.getctime(path + '/' + file)
            minFileName = file
print(minFileName)


3c61da8a3c28f085d955752e18688a730c3858e4
<mask token>

<mask token>
for file in files:
    if minFileTime == 0:
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
    elif minFileTime > os.path.getctime(path + '/' + file):
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
print(minFileName)

<mask token>
path = 'F:\\python17\\pythonPro\\MemortAssit\\data/bkup'
files = os.listdir(path)
minFileName = None
minFileTime = 0
for file in files:
    if minFileTime == 0:
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
    elif minFileTime > os.path.getctime(path + '/' + file):
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
print(minFileName)

import os
path = 'F:\\python17\\pythonPro\\MemortAssit\\data/bkup'
files = os.listdir(path)
minFileName = None
minFileTime = 0
for file in files:
    if minFileTime == 0:
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
    elif minFileTime > os.path.getctime(path + '/' + file):
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
print(minFileName)

import os

path = 'F:\python17\pythonPro\MemortAssit\data/bkup'
files = os.listdir(path)
minFileName = None
minFileTime = 0
for file in files:
    if minFileTime == 0:
        minFileTime = os.path.getctime(path + '/' + file)
        minFileName = file
    else:
        if minFileTime > os.path.getctime(path + '/' + file):
            minFileTime = os.path.getctime(path + '/' + file)
            minFileName = file
print(minFileName)

