{
  "id": 231059,
  "title": "how to use a python support library",
  "url": "/competitions/birdclef-2021/discussion/231059",
  "author_name": "",
  "post_date": "2021-04-06T19:18:41.449196100Z",
  "votes": 2,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Hi, </p>\n<p>I have made some support classes for use in the jupyter notebook. Is it possible to make a notebook that imports the classes and then still have a valid submission? In my case, the support classes are not available in any of the python repositories (so cannot be installed using pip or conda). </p>\n<p>Is this possible, or should I copy each and every class I used into the jupyter notebook, or generate a jupyter notebook based on existing python code? Does anyone have a good suggestion?</p>\n<p>Cheers<br>\n  Erik</p>",
  "messages": [
    {
      "id": "1265300",
      "postDate": "04/06/2021 19:18:41",
      "content": "<p>Hi, </p>\n<p>I have made some support classes for use in the jupyter notebook. Is it possible to make a notebook that imports the classes and then still have a valid submission? In my case, the support classes are not available in any of the python repositories (so cannot be installed using pip or conda). </p>\n<p>Is this possible, or should I copy each and every class I used into the jupyter notebook, or generate a jupyter notebook based on existing python code? Does anyone have a good suggestion?</p>\n<p>Cheers<br>\n  Erik</p>",
      "rawMarkdown": "Hi, \n\nI have made some support classes for use in the jupyter notebook. Is it possible to make a notebook that imports the classes and then still have a valid submission? In my case, the support classes are not available in any of the python repositories (so cannot be installed using pip or conda). \n\nIs this possible, or should I copy each and every class I used into the jupyter notebook, or generate a jupyter notebook based on existing python code? Does anyone have a good suggestion?\n\nCheers\n  Erik",
      "votes": null
    },
    {
      "id": "1268368",
      "postDate": "04/09/2021 10:46:39",
      "content": "<p>Hi,</p>\n<p>You can add your python scripts as a dataset to your environment. From the right panel, there is an \"Add Data\" option which lets you upload files/folders. Then you can use those scripts from your notebook just as is. 👋👋</p>",
      "rawMarkdown": "Hi,\n\nYou can add your python scripts as a dataset to your environment. From the right panel, there is an \"Add Data\" option which lets you upload files/folders. Then you can use those scripts from your notebook just as is. 👋👋",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1268368,
      "author_name": "snnclsr",
      "author_url": "",
      "post_date": "04/09/2021 10:46:39",
      "content": "<p>Hi,</p>\n<p>You can add your python scripts as a dataset to your environment. From the right panel, there is an \"Add Data\" option which lets you upload files/folders. Then you can use those scripts from your notebook just as is. 👋👋</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1265300": "Hi, \n\nI have made some support classes for use in the jupyter notebook. Is it possible to make a notebook that imports the classes and then still have a valid submission? In my case, the support classes are not available in any of the python repositories (so cannot be installed using pip or conda). \n\nIs this possible, or should I copy each and every class I used into the jupyter notebook, or generate a jupyter notebook based on existing python code? Does anyone have a good suggestion?\n\nCheers\n  Erik",
    "1268368": "Hi,\n\nYou can add your python scripts as a dataset to your environment. From the right panel, there is an \"Add Data\" option which lets you upload files/folders. Then you can use those scripts from your notebook just as is. 👋👋"
  },
  "source": "meta"
}