pyguymer3.getatime¶
- pyguymer3.getatime(fname, /)[source]¶
Get the access time of a file as a timezone-aware
datetimeobject.This function aims to mimic
os.path.getatime()but instead of returning a integer or float it returns a timezone-awaredatetimeobject.- Parameters:
fname (str) – the file name
- Returns:
ans – the timezone-aware
datetimeobject- Return type:
Notes
Copyright 2017 Thomas Guymer [1]
References