{"id":5646376,"date":"2022-05-23T07:43:26","date_gmt":"2022-05-23T11:43:26","guid":{"rendered":"https:\/\/lightning.ai\/pages\/?p=5646376"},"modified":"2022-09-10T11:15:34","modified_gmt":"2022-09-10T15:15:34","slug":"jupyter-notebooks-vs-python-projects","status":"publish","type":"post","link":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/","title":{"rendered":"EP 01: Jupyter Notebooks vs Python Projects"},"content":{"rendered":"<p>In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Notebooks (as in Jupyter Notebooks) and Python Projects. Watch the video, or continue reading below.<\/p>\n<p><iframe loading=\"lazy\" title=\"YouTube video player\" src=\"https:\/\/www.youtube.com\/embed\/JGnoTN1OnWY\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Using Jupyter Notebooks<\/h2>\n<p>Excited to get started with using Jupyter notebooks? The most common application for working with Jupyter notebooks is JupyterLab. Jupyter notebooks are great scratch pads for brainstorming ideas, and there are two common ways to use them: locally on our computer or in the cloud.<\/p>\n<h3>On Your Computer<\/h3>\n<p>We recommend the official installation instructions for getting it set up: <a style=\"color: #0000ff;\" href=\"https:\/\/jupyterlab.readthedocs.io\/en\/stable\/getting_started\/installation.html\" rel=\"nofollow\"><u>https:\/\/jupyterlab.readthedocs.io\/en\/stable\/getting_started\/installation.html<\/u><\/a><\/p>\n<p>Personally, we prefer installing JupyterLab via conda (more on conda in a future episode) via<\/p>\n<pre>conda install -c conda-forge jupyterlab\r\n<\/pre>\n<p>Once you have it installed, you can type jupyter lab in your terminal and press Enter, and JupyterLab should open automatically in your web browser.<\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5646377 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-terminal.png\" alt=\"Jupyter Terminal\" width=\"1342\" height=\"652\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-terminal.png 1342w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-terminal-300x146.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-terminal-1024x498.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-terminal-768x373.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-terminal-600x292.png 600w\" sizes=\"(max-width: 1342px) 100vw, 1342px\" \/><\/h3>\n<h3>In the Cloud (Colab)<\/h3>\n<p>If you prefer working in the cloud, Google Colab is an easy and free way for doing so. You can check it out <a style=\"color: #0000ff;\" href=\"https:\/\/colab.research.google.com\/\" target=\"_blank\" rel=\"noopener\"><u>here<\/u><\/a>.<\/p>\n<h2>Setting Up a Basic Python Project<\/h2>\n<p>We will revisit this topic in a future episode! However, if you are curious and can&#8217;t wait, here is how this works!<br \/>\nA basic Python project can start with a simple folder structure. Of course, the exact structure depends on the use-case context, but most often we start with two folders:<\/p>\n<ol>\n<li><code>src<\/code>\u00a0for our code files (<code>.py<\/code>\u00a0scripts).<\/li>\n<li><code>docs<\/code>\u00a0for documentation-related files.<\/li>\n<\/ol>\n<p>A\u00a0<code>README.md<\/code>\u00a0file also often a good idea for leaving general instructions.<\/p>\n<h3><a id=\"user-content-turning-a-project-into-a-python-package\" class=\"anchor\" href=\"https:\/\/github.com\/Lightning-AI\/engineering-class\/blob\/main\/ep01-nbs-vs-projects\/Ep01-ShowNotes.md#turning-a-project-into-a-python-package\" aria-hidden=\"true\"><\/a>Turning a Project into a Python Package<\/h3>\n<p>Suppose we have a file\u00a0<code>mycode.py<\/code>\u00a0that contains our code. We can convert it into a Python package so that we can import functions from it. To do this, we create a folder called\u00a0<code>mypackage<\/code>\u00a0(an arbitrary naming choice) that contains at least these 2 things:<\/p>\n<ol>\n<li>A file called\u00a0<code>__init__.py<\/code>\u00a0. (This can be empty.)<\/li>\n<li>A file containing our code. We name it\u00a0<code>mycode.py<\/code>\u00a0(another arbitary name).<\/li>\n<\/ol>\n<p>Lastly, we create a\u00a0<code>setup.py<\/code>\u00a0file with the following minimal contents:<\/p>\n<pre>import setuptools\r\n\r\nsetuptools.setup(\r\n    name='mypackage',\r\n    version='0.1',\r\n    author='sebastian',\r\n    packages=setuptools.find_packages(),\r\n)\r\n<\/pre>\n<p>This\u00a0<code>setup.py<\/code>\u00a0file should be next to the\u00a0<code>mypackage<\/code>\u00a0folder. After you created these files, it should look like as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5646378 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project.png\" alt=\"Python Project folder structure\" width=\"1628\" height=\"1044\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project.png 1628w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project-300x192.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project-1024x657.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project-768x493.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project-1536x985.png 1536w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/folder-structure-python-project-600x385.png 600w\" sizes=\"(max-width: 1628px) 100vw, 1628px\" \/>(This starter package is available\u00a0<a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/PyTorchLightning\/engineering-class\/tree\/master\/ep01-nbs-vs-projects\"><u>here on GitHub<\/u><\/a>.)<\/p>\n<p>Now, we are able to install the package using the command:<\/p>\n<pre>pip install -e path\/to\/the\/folder\/containing\/setup.py\r\n<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5646379 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/install.png\" alt=\"Install package\" width=\"1492\" height=\"632\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/install.png 1492w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/install-300x127.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/install-1024x434.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/install-768x325.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/install-600x254.png 600w\" sizes=\"(max-width: 1492px) 100vw, 1492px\" \/><\/p>\n<p>Finally, after completing this step, we can import code from the package in Python, anywhere on our computer!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-5646380 size-full\" src=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/import.png\" alt=\"Import Python Project\" width=\"1342\" height=\"652\" srcset=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/import.png 1342w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/import-300x146.png 300w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/import-1024x498.png 1024w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/import-768x373.png 768w, https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/import-600x292.png 600w\" sizes=\"(max-width: 1342px) 100vw, 1342px\" \/><\/p>\n<p>Stay tuned for a future episode where we discuss this in more detail! Also, if you have any questions, please don&#8217;t hesitate to reach out on\u00a0<a style=\"color: #0000ff;\" href=\"https:\/\/pytorch-lightning.slack.com\/archives\/C03GS6MTCCQ\" rel=\"nofollow\"><u>Slack<\/u><\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Notebooks (as in Jupyter Notebooks) and Python Projects. Watch the video, or continue reading below. Using Jupyter Notebooks Excited to get started with using Jupyter notebooks? The most common application for working with Jupyter notebooks is JupyterLab. Jupyter notebooks are great<a class=\"excerpt-read-more\" href=\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\" title=\"ReadEP 01: Jupyter Notebooks vs Python Projects\">&#8230; Read more &raquo;<\/a><\/p>\n","protected":false},"author":16,"featured_media":5646381,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[102],"tags":[78,77,80,79],"glossary":[],"acf":{"hide_from_archive":null,"content_type":null,"code_embed":null,"code_shortcode":null,"custom_styles":null,"sticky":null,"additional_authors":null,"mathjax":null,"default_editor":null,"sections":null,"show_table_of_contents":null,"table_of_contents":null,"tabs":null,"tab_group":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EP 01: Jupyter Notebooks vs Python Projects - Lightning AI<\/title>\n<meta name=\"description\" content=\"In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Jupyter Notebooks vs Python Projects.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EP 01: Jupyter Notebooks vs Python Projects - Lightning AI\" \/>\n<meta property=\"og:description\" content=\"In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Jupyter Notebooks vs Python Projects.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\" \/>\n<meta property=\"og:site_name\" content=\"Lightning AI\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-23T11:43:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-09-10T15:15:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JP Hennessy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:site\" content=\"@LightningAI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"JP Hennessy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\"},\"author\":{\"name\":\"JP Hennessy\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\"},\"headline\":\"EP 01: Jupyter Notebooks vs Python Projects\",\"datePublished\":\"2022-05-23T11:43:26+00:00\",\"dateModified\":\"2022-09-10T15:15:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\"},\"wordCount\":414,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png\",\"keywords\":[\"jupyter\",\"lightning bits\",\"notebooks\",\"python\"],\"articleSection\":[\"Lightning Bits\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\",\"url\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\",\"name\":\"EP 01: Jupyter Notebooks vs Python Projects - Lightning AI\",\"isPartOf\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png\",\"datePublished\":\"2022-05-23T11:43:26+00:00\",\"dateModified\":\"2022-09-10T15:15:34+00:00\",\"description\":\"In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Jupyter Notebooks vs Python Projects.\",\"breadcrumb\":{\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png\",\"width\":1280,\"height\":720,\"caption\":\"Jupyter Notebooks vs Python Projects\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/lightning.ai\/pages\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EP 01: Jupyter Notebooks vs Python Projects\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/lightning.ai\/pages\/#website\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"name\":\"Lightning AI\",\"description\":\"The platform for teams to build AI.\",\"publisher\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/lightning.ai\/pages\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/lightning.ai\/pages\/#organization\",\"name\":\"Lightning AI\",\"url\":\"https:\/\/lightning.ai\/pages\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"contentUrl\":\"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png\",\"width\":1744,\"height\":856,\"caption\":\"Lightning AI\"},\"image\":{\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/LightningAI\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6\",\"name\":\"JP Hennessy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g\",\"caption\":\"JP Hennessy\"},\"url\":\"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EP 01: Jupyter Notebooks vs Python Projects - Lightning AI","description":"In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Jupyter Notebooks vs Python Projects.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/","og_locale":"en_US","og_type":"article","og_title":"EP 01: Jupyter Notebooks vs Python Projects - Lightning AI","og_description":"In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Jupyter Notebooks vs Python Projects.","og_url":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/","og_site_name":"Lightning AI","article_published_time":"2022-05-23T11:43:26+00:00","article_modified_time":"2022-09-10T15:15:34+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png","type":"image\/png"}],"author":"JP Hennessy","twitter_card":"summary_large_image","twitter_creator":"@LightningAI","twitter_site":"@LightningAI","twitter_misc":{"Written by":"JP Hennessy","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#article","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/"},"author":{"name":"JP Hennessy","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6"},"headline":"EP 01: Jupyter Notebooks vs Python Projects","datePublished":"2022-05-23T11:43:26+00:00","dateModified":"2022-09-10T15:15:34+00:00","mainEntityOfPage":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/"},"wordCount":414,"commentCount":0,"publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"image":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png","keywords":["jupyter","lightning bits","notebooks","python"],"articleSection":["Lightning Bits"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/","url":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/","name":"EP 01: Jupyter Notebooks vs Python Projects - Lightning AI","isPartOf":{"@id":"https:\/\/lightning.ai\/pages\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage"},"image":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage"},"thumbnailUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png","datePublished":"2022-05-23T11:43:26+00:00","dateModified":"2022-09-10T15:15:34+00:00","description":"In this Lightning Bits episode, William and Sebastian discuss the pros and cons of Jupyter Notebooks vs Python Projects.","breadcrumb":{"@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#primaryimage","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2022\/08\/jupyter-notebooks-vs-python-projects.png","width":1280,"height":720,"caption":"Jupyter Notebooks vs Python Projects"},{"@type":"BreadcrumbList","@id":"https:\/\/lightning.ai\/pages\/education\/lightning-bits\/jupyter-notebooks-vs-python-projects\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lightning.ai\/pages\/"},{"@type":"ListItem","position":2,"name":"EP 01: Jupyter Notebooks vs Python Projects"}]},{"@type":"WebSite","@id":"https:\/\/lightning.ai\/pages\/#website","url":"https:\/\/lightning.ai\/pages\/","name":"Lightning AI","description":"The platform for teams to build AI.","publisher":{"@id":"https:\/\/lightning.ai\/pages\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lightning.ai\/pages\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/lightning.ai\/pages\/#organization","name":"Lightning AI","url":"https:\/\/lightning.ai\/pages\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/","url":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","contentUrl":"https:\/\/lightningaidev.wpengine.com\/wp-content\/uploads\/2023\/02\/image-17.png","width":1744,"height":856,"caption":"Lightning AI"},"image":{"@id":"https:\/\/lightning.ai\/pages\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/LightningAI"]},{"@type":"Person","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/2518f4d5541f8e98016f6289169141a6","name":"JP Hennessy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lightning.ai\/pages\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28ade268218ae45f723b0b62499f527a?s=96&d=mm&r=g","caption":"JP Hennessy"},"url":"https:\/\/lightning.ai\/pages\/author\/jplightning-ai\/"}]}},"_links":{"self":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/5646376"}],"collection":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/comments?post=5646376"}],"version-history":[{"count":0,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/posts\/5646376\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media\/5646381"}],"wp:attachment":[{"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/media?parent=5646376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/categories?post=5646376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/tags?post=5646376"},{"taxonomy":"glossary","embeddable":true,"href":"https:\/\/lightning.ai\/pages\/wp-json\/wp\/v2\/glossary?post=5646376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}