home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 620273692

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/dogsheep/dogsheep-photos/issues/13#issuecomment-620273692 https://api.github.com/repos/dogsheep/dogsheep-photos/issues/13 620273692 MDEyOklzc3VlQ29tbWVudDYyMDI3MzY5Mg== 9599 2020-04-27T22:42:50Z 2020-04-27T22:42:50Z MEMBER

```

def ext_counts(directory): ... counts = {} ... for path in pathlib.Path(directory).glob("*/"): ... ext = path.suffix ... counts[ext] = counts.get(ext, 0) + 1 ... return counts ...

ext_counts("/Users/simon/Pictures/Photos Library.photoslibrary/originals") {'': 16, '.heic': 15478, '.jpeg': 21691, '.mov': 946, '.png': 2262, '.gif': 38, '.mp4': 116, '.aae': 2} ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
607888367  
Powered by Datasette · Queries took 0.935ms · About: github-to-sqlite