{
  "id": 294644,
  "title": "Quick paths for loading images",
  "url": "/competitions/cs5785-fall-2021-final/discussion/294644",
  "author_name": "Elliot",
  "post_date": "2021-12-11T21:01:14.288000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>For anyone working with the images directly I thought I would mention that I've found the \"pathlib\" library useful. I hasn't used it before this project, but it's definitely something I'll use going forward because it really helped simplify some things. </p>\n<p>For example you could use Path(\"./cs5785-fall-2021-final/images_test\") to get a path setup that you can use for quick loading of the individual images later on using other built in functions like \"glob.\"</p>\n<p>Check out <a href=\"https://docs.python.org/3/library/pathlib.html\" target=\"_blank\">https://docs.python.org/3/library/pathlib.html</a> is you're interested. </p>",
  "messages": [
    {
      "id": 1615120,
      "postDate": "2021-12-11T21:01:14.290Z",
      "content": "<p>For anyone working with the images directly I thought I would mention that I've found the \"pathlib\" library useful. I hasn't used it before this project, but it's definitely something I'll use going forward because it really helped simplify some things. </p>\n<p>For example you could use Path(\"./cs5785-fall-2021-final/images_test\") to get a path setup that you can use for quick loading of the individual images later on using other built in functions like \"glob.\"</p>\n<p>Check out <a href=\"https://docs.python.org/3/library/pathlib.html\" target=\"_blank\">https://docs.python.org/3/library/pathlib.html</a> is you're interested. </p>",
      "rawMarkdown": "For anyone working with the images directly I thought I would mention that I've found the \"pathlib\" library useful. I hasn't used it before this project, but it's definitely something I'll use going forward because it really helped simplify some things. \n\nFor example you could use Path(\"./cs5785-fall-2021-final/images_test\") to get a path setup that you can use for quick loading of the individual images later on using other built in functions like \"glob.\"\n\nCheck out https://docs.python.org/3/library/pathlib.html is you're interested. "
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1615120": "For anyone working with the images directly I thought I would mention that I've found the \"pathlib\" library useful. I hasn't used it before this project, but it's definitely something I'll use going forward because it really helped simplify some things. \n\nFor example you could use Path(\"./cs5785-fall-2021-final/images_test\") to get a path setup that you can use for quick loading of the individual images later on using other built in functions like \"glob.\"\n\nCheck out https://docs.python.org/3/library/pathlib.html is you're interested. "
  }
}