{
  "id": 417737,
  "title": "How to convert kaggle notebook to script using nbdev?",
  "url": "/competitions/benetech-making-graphs-accessible/discussion/417737",
  "author_name": "",
  "post_date": "2023-06-17T00:51:20.876476500Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>I am trying to convert the kaggle notebook to a <code>py</code>  using the <code>nbdev</code> tool, which provides a convenient way to experiment and converting notebooks to scripts. <br>\nHowever, I'm unable to find the location of the notebook within the kaggle environment. If anyone has any insights or suggestions on how to locate the notebook, I would greatly appreciate it.</p>",
  "messages": [
    {
      "id": "2305868",
      "postDate": "06/17/2023 00:51:20",
      "content": "<p>I am trying to convert the kaggle notebook to a <code>py</code>  using the <code>nbdev</code> tool, which provides a convenient way to experiment and converting notebooks to scripts. <br>\nHowever, I'm unable to find the location of the notebook within the kaggle environment. If anyone has any insights or suggestions on how to locate the notebook, I would greatly appreciate it.</p>",
      "rawMarkdown": "I am trying to convert the kaggle notebook to a `py`  using the `nbdev` tool, which provides a convenient way to experiment and converting notebooks to scripts. \nHowever, I'm unable to find the location of the notebook within the kaggle environment. If anyone has any insights or suggestions on how to locate the notebook, I would greatly appreciate it.",
      "votes": null
    },
    {
      "id": "2309660",
      "postDate": "06/19/2023 19:33:01",
      "content": "<p>I don't know about nbdev. But if you only need a .py file, you could download the notebook as ipynb, upload it on colab and the download again as py file </p>",
      "rawMarkdown": "I don't know about nbdev. But if you only need a .py file, you could download the notebook as ipynb, upload it on colab and the download again as py file",
      "votes": null
    },
    {
      "id": "2309894",
      "postDate": "06/20/2023 00:56:13",
      "content": "<p>Thank you for your comment. I want to use <code>nbdev</code>, because I can keep the interactive nature of notebook, while converting specific cells to py file. In this way, I can convert the notebook on the fly. I  can use<code>%%writefile</code> but it's not flexible as <code>nbdev</code>.   </p>",
      "rawMarkdown": "Thank you for your comment. I want to use `nbdev`, because I can keep the interactive nature of notebook, while converting specific cells to py file. In this way, I can convert the notebook on the fly. I  can use`%%writefile` but it's not flexible as `nbdev`.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2309660,
      "author_name": "sandeepmnair",
      "author_url": "",
      "post_date": "06/19/2023 19:33:01",
      "content": "<p>I don't know about nbdev. But if you only need a .py file, you could download the notebook as ipynb, upload it on colab and the download again as py file </p>",
      "votes": null,
      "replies": [
        {
          "id": 2309894,
          "author_name": "tanjiroll",
          "author_url": "",
          "post_date": "06/20/2023 00:56:13",
          "content": "<p>Thank you for your comment. I want to use <code>nbdev</code>, because I can keep the interactive nature of notebook, while converting specific cells to py file. In this way, I can convert the notebook on the fly. I  can use<code>%%writefile</code> but it's not flexible as <code>nbdev</code>.   </p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2305868": "I am trying to convert the kaggle notebook to a `py`  using the `nbdev` tool, which provides a convenient way to experiment and converting notebooks to scripts. \nHowever, I'm unable to find the location of the notebook within the kaggle environment. If anyone has any insights or suggestions on how to locate the notebook, I would greatly appreciate it.",
    "2309660": "I don't know about nbdev. But if you only need a .py file, you could download the notebook as ipynb, upload it on colab and the download again as py file",
    "2309894": "Thank you for your comment. I want to use `nbdev`, because I can keep the interactive nature of notebook, while converting specific cells to py file. In this way, I can convert the notebook on the fly. I  can use`%%writefile` but it's not flexible as `nbdev`."
  },
  "source": "meta"
}