Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2825d85

Browse files
committed
last access
1 parent 2a160d2 commit 2825d85

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

‎Last Access/Last Access.png‎

65.1 KB
Loading[フレーム]

‎Last Access/Last Access.py‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import os
2+
import time
3+
from os import listdir
4+
from os.path import isfile, join
5+
print("ENTER THE PATH TO FOLDER")
6+
path = input()
7+
files_list = [f for f in listdir(path) if isfile(join(path, f))]
8+
for k in files_list:
9+
print(k)
10+
access_time = os.path.getatime(path +"\\" + k)
11+
local_time = time.ctime(access_time)
12+
print("Last access time(Local time):", local_time)
File renamed without changes.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /