def get_stat(full_path):
status = {}<EOL>status['<STR_LIT:size>'] = os.path.getsize(full_path)<EOL>status['<STR_LIT>'] = datetime.datetime.fromtimestamp(os.path.getatime(full_path))<EOL>status['<STR_LIT>'] = datetime.datetime.fromtimestamp(os.path.getmtime(full_path))<EOL>status['<STR_LIT>'] = datetime.datetime.fromtimestamp(os.path.getctime(full_path))<EOL>status['<STR_LIT>'] = os.stat(full_path).st_mode<EOL>status['<STR_LIT:type>'] = get_type(full_path)<EOL>return status<EOL>
Use python builtin equivalents to unix `stat` command and return dict containing stat data about a file