7c977cb5f370d2e8a8ceda762f8d22a3c668e8f0,fileinfo.py,,,#,20

Before Change


    with open(file_name) as f:
        line = f.readline()
        t_char += len(line)
        while line:
            count += 1
            line = f.readline()
            t_char += len(line)
except FileNotFoundError as e:
    print(e)
    sys.exit()

After Change


                     "st_atime (last access time seconds since epoch),"
                     "st_mtime (last modification time),"
                     "st_ctime (time of creation Windows)")
    stats_keys = stats_strings.split(",")
    for key, value in OrderedDict(zip(stats_keys, file_stats)).items():
        print(key, " =", value)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: geekcomputers/Python
Commit Name: 7c977cb5f370d2e8a8ceda762f8d22a3c668e8f0
Time: 2020-03-22
Author: alopex4@163.com
File Name: fileinfo.py
Class Name:
Method Name:


Project Name: arogozhnikov/einops
Commit Name: 29389772364178f76ccf565917870639cad283bb
Time: 2018-09-27
Author: iamfullofspam@gmail.com
File Name: einops.py
Class Name:
Method Name: get_axes_names


Project Name: studioml/studio
Commit Name: 514e97adf46aa0cad330d44ae820a793c6a1e308
Time: 2017-06-06
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name:
Method Name: _remove_backspaces