{
  "id": 425959,
  "title": "code keeps on running.",
  "url": "/competitions/bengaliai-speech/discussion/425959",
  "author_name": "",
  "post_date": "2023-07-21T06:48:08.950395600Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>for some unknown reason, the code block with this code, keeps on running, what am i doing wrong?</p>\n<p>for dirname,_, filenames in os.walk('/kaggle/input'):<br>\n    for filename in filenames:<br>\n        print(os.path.join(dirname, filename))</p>",
  "messages": [
    {
      "id": "2352646",
      "postDate": "07/21/2023 06:48:08",
      "content": "<p>for some unknown reason, the code block with this code, keeps on running, what am i doing wrong?</p>\n<p>for dirname,_, filenames in os.walk('/kaggle/input'):<br>\n    for filename in filenames:<br>\n        print(os.path.join(dirname, filename))</p>",
      "rawMarkdown": "for some unknown reason, the code block with this code, keeps on running, what am i doing wrong?\n\nfor dirname,_, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))",
      "votes": null
    },
    {
      "id": "2352895",
      "postDate": "07/21/2023 10:27:14",
      "content": "<p>Because there is around 1M files in this dataset. So when you iterate Over all of them and print them it starts printing a lot of lines and as a result your browser gets stuck. One way to do is hit save and run all. After the completion you can see the output.</p>\n<p>Why do you nees this btw? You could just print the dirnames and some of the filenames probably?</p>",
      "rawMarkdown": "Because there is around 1M files in this dataset. So when you iterate Over all of them and print them it starts printing a lot of lines and as a result your browser gets stuck. One way to do is hit save and run all. After the completion you can see the output.\n\nWhy do you nees this btw? You could just print the dirnames and some of the filenames probably?",
      "votes": null
    },
    {
      "id": "2356910",
      "postDate": "07/24/2023 12:33:26",
      "content": "<p>yeah, will do that. however can you please tell, how much time does it generally take to run entire notebook?</p>",
      "rawMarkdown": "yeah, will do that. however can you please tell, how much time does it generally take to run entire notebook?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2352895,
      "author_name": "mbmmurad",
      "author_url": "",
      "post_date": "07/21/2023 10:27:14",
      "content": "<p>Because there is around 1M files in this dataset. So when you iterate Over all of them and print them it starts printing a lot of lines and as a result your browser gets stuck. One way to do is hit save and run all. After the completion you can see the output.</p>\n<p>Why do you nees this btw? You could just print the dirnames and some of the filenames probably?</p>",
      "votes": null,
      "replies": [
        {
          "id": 2356910,
          "author_name": "amananand0",
          "author_url": "",
          "post_date": "07/24/2023 12:33:26",
          "content": "<p>yeah, will do that. however can you please tell, how much time does it generally take to run entire notebook?</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2352646": "for some unknown reason, the code block with this code, keeps on running, what am i doing wrong?\n\nfor dirname,_, filenames in os.walk('/kaggle/input'):\n    for filename in filenames:\n        print(os.path.join(dirname, filename))",
    "2352895": "Because there is around 1M files in this dataset. So when you iterate Over all of them and print them it starts printing a lot of lines and as a result your browser gets stuck. One way to do is hit save and run all. After the completion you can see the output.\n\nWhy do you nees this btw? You could just print the dirnames and some of the filenames probably?",
    "2356910": "yeah, will do that. however can you please tell, how much time does it generally take to run entire notebook?"
  },
  "source": "meta"
}