{"id":1805,"date":"2019-06-01T19:25:09","date_gmt":"2019-06-01T19:25:09","guid":{"rendered":"http:\/\/wiki.thomasandsofia.com\/?p=1805"},"modified":"2019-06-04T22:39:35","modified_gmt":"2019-06-04T22:39:35","slug":"section-2-python-setup","status":"publish","type":"post","link":"https:\/\/wiki.thomasandsofia.com\/?p=1805","title":{"rendered":"Section 2: Python Setup"},"content":{"rendered":"<h1>Section 2 Menu<\/h1>\n<p><a href=\"http:\/\/wiki.thomasandsofia.com\/?p=1800\">&lt; Section 1<\/a><br \/>\n<a href=\"http:\/\/wiki.thomasandsofia.com\/?p=1816\">Section 3 &gt;<\/a><br \/>\n5. Command Line Basics<br \/>\n6. Installing Python (Step by Step)<br \/>\n7. Running Python Code<br \/>\n8. Getting the Notebooks and Course Material<br \/>\n9. Git and Github Overview<\/p>\n<h1>Command Line Basics<\/h1>\n<p><a href=\"https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9431354#overview\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9431354#overview<\/a><\/p>\n<p>&nbsp;<\/p>\n<h1>Installing Python (Step by Step)<\/h1>\n<p><a href=\"https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373054#overview\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373054#overview<\/a><\/p>\n<p><a href=\"https:\/\/www.anaconda.com\/distribution\/\" target=\"_blank\" rel=\"noopener\">https:\/\/www.anaconda.com\/distribution<\/a><\/p>\n<p>&nbsp;<\/p>\n<h1>Running Python Code<\/h1>\n<p><a href=\"https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373062#overview\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373062#overview<\/a><\/p>\n<p><a href=\"http:\/\/www.sublimetext.com\" target=\"_blank\" rel=\"noopener\">http:\/\/www.sublimetext.com<\/a><\/p>\n<h2>Anaconda<\/h2>\n<h3>To run Anaconda on your desktop:<\/h3>\n<h4>Windows:<\/h4>\n<p>Start &gt; Anaconda Navigator &gt; Jupyter Notebook &gt; [Launch]<\/p>\n<h4>Linux:<\/h4>\n<p>Use the command line:<\/p>\n<pre>anaconda-navigator<\/pre>\n<h3>Start Jupyter Notebook<\/h3>\n<ul>\n<li>From Anaconda &gt; Jupyter Notebook &gt; [Launch] &gt; This will open a Browser window<\/li>\n<li>Navigate to your programming folder<\/li>\n<\/ul>\n<h3>Create a new Notebook<\/h3>\n<p>Click the &#8216;New&#8217; dropdown and select Python3 under &#8216;Notebook&#8217;<\/p>\n<p>This will create the new notebook.\u00a0 You&#8217;ll see it in the file explorer tab under &#8216;Untitled.ipynb&#8217; (iPython Notebook)<\/p>\n<p>Rename the Notebook by clicking the Notebook&#8217;s name (Untitled) and renaming it.<\/p>\n<h3>Running Code<\/h3>\n<p>Enter the code in the text field, then click [ &gt;| Run ] or just press [Shift]+[Enter]<\/p>\n<h4>Entering Markdown Text<\/h4>\n<p>Click the &#8216;Code&#8217; dropdown and select &#8216;Markdown&#8217;<\/p>\n<h2>Running Python from the Command Line: (Windows and Linux)<\/h2>\n<pre>python &lt;scriptname.py&gt;<\/pre>\n<p>To enter single lines of code:<\/p>\n<pre>python\r\nprint('hello world')\r\n<\/pre>\n<p>To exit:<\/p>\n<pre>quit()<\/pre>\n<h1>Getting the Notebooks and Course Material<\/h1>\n<p><a href=\"https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373066#overview\" target=\"_blank\" rel=\"noopener\">https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373066#overview<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/Pierian-Data\/Complete-Python-3-Bootcamp\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/Pierian-Data\/Complete-Python-3-Bootcamp<\/a><\/p>\n<p>&nbsp;<\/p>\n<h1>Git and Github Overview<\/h1>\n<p><a href=\"https:\/\/guides.github.com\/activities\/hello-world\/\" target=\"_blank\" rel=\"noopener\">https:\/\/guides.github.com\/activities\/hello-world\/<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Section 2 Menu &lt; Section 1 Section 3 &gt; 5. Command Line Basics 6. Installing Python (Step by Step) 7. Running Python Code 8. Getting the Notebooks and Course Material 9. Git and Github Overview Command Line Basics https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9431354#overview &nbsp; Installing Python (Step by Step) https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373054#overview https:\/\/www.anaconda.com\/distribution &nbsp; Running Python Code https:\/\/www.udemy.com\/complete-python-bootcamp\/learn\/lecture\/9373062#overview http:\/\/www.sublimetext.com Anaconda To ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/wiki.thomasandsofia.com\/?p=1805\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1805","post","type-post","status-publish","format-standard","hentry","category-python-bootcamp-0-to-hero"],"_links":{"self":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/1805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1805"}],"version-history":[{"count":12,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/1805\/revisions"}],"predecessor-version":[{"id":1846,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=\/wp\/v2\/posts\/1805\/revisions\/1846"}],"wp:attachment":[{"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wiki.thomasandsofia.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}