{"id":135,"date":"2020-06-29T14:36:29","date_gmt":"2020-06-29T14:36:29","guid":{"rendered":"https:\/\/aaidm.buas.nl\/?page_id=135"},"modified":"2020-07-01T08:03:28","modified_gmt":"2020-07-01T08:03:28","slug":"pr1-preparation-for-week-1-development-environment","status":"publish","type":"page","link":"https:\/\/aaidm.buas.nl\/?page_id=135","title":{"rendered":"PR1 &#8211; Preparation for Week 1 &#8211; Development Environment"},"content":{"rendered":"\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Author:<\/td><td>Carlos Santos<\/td><\/tr><tr><td>Learning Line:<\/td><td>Programming<\/td><\/tr><tr><td>Course:<\/td><td>PR1: Introduction to Programming<\/td><\/tr><tr><td>Week:<\/td><td>1<\/td><\/tr><tr><td>Competencies:<\/td><td>Students will be able to effectively define and use variables, programming flow control.<\/td><\/tr><tr><td>BoKS:<\/td><td>3bK2, The student understands the principles of data related software like Python, R, Scala and\/or Java and knows how to write (basic) scripts.<\/td><\/tr><tr><td>Learning Goals:<\/td><td>Variables and Data Types<br>In-code Comments<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Setup the development Environment<\/h3>\n\n\n\n<p>Open windows explorer, and create the following folder<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>C:\\Tools<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"SetupVIBEAutomatedPipeline-Step5:InstallAnacondaPython3.7\">Step 2: Install Anaconda &amp; Python 3.7<\/h3>\n\n\n\n<p>Go to anaconda website (<a href=\"https:\/\/www.anaconda.com\/\">https:\/\/www.anaconda.com<\/a>)<\/p>\n\n\n\n<p>Download the Individual edition,&nbsp;Python 3.7,&nbsp;64-Bit Graphical Installer&nbsp;<\/p>\n\n\n\n<p>Install the Anaconda.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Please select the Installation to All Users (admin privileges)<\/li><li>Select the Installation folder to be &#8220;C:\\Tools\\Anaconda&#8221;<\/li><li>Make sure you check Add Anaconda to PATH Environmental Variables (yes, there is some red text, but, you can proceed)<\/li><li>Make sure you check Register Anaconda as system Python 3.7<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Running Jupyter Notebook<\/h3>\n\n\n\n<p>Open from your Window Start menu open the Anaconda Navigator.<\/p>\n\n\n\n<p>Inside, you can already start using python in your Jupiter Notebook, you can click Launch and you will have a browser window, which will allow you to program in Jupyter.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-1024x438.png\" alt=\"\" class=\"wp-image-137\" srcset=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-1024x438.png 1024w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-300x128.png 300w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-768x328.png 768w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3.png 1123w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select and or create an appropriate folder where you are going to store your learning scripts, and data for this course, and create a new Python 3 Notebook.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-4.png\" alt=\"\" class=\"wp-image-138\" width=\"575\" height=\"252\" srcset=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-4.png 785w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-4-300x131.png 300w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-4-768x337.png 768w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p>In this new notebook you can, already do things in Python, for example, by typing.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre class=\"CodeMirror\" data-setting=\"{&quot;showPanel&quot;:true,&quot;languageLabel&quot;:false,&quot;fullScreenButton&quot;:true,&quot;copyButton&quot;:true,&quot;mode&quot;:&quot;python&quot;,&quot;mime&quot;:&quot;text\/x-python&quot;,&quot;theme&quot;:&quot;idea&quot;,&quot;lineNumbers&quot;:true,&quot;styleActiveLine&quot;:false,&quot;lineWrapping&quot;:false,&quot;readOnly&quot;:true,&quot;fileName&quot;:&quot;&quot;,&quot;language&quot;:&quot;Python&quot;,&quot;maxHeight&quot;:&quot;400px&quot;,&quot;modeName&quot;:&quot;python&quot;}\">&quot;hello&quot;<\/pre><\/div>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Important Note:<\/strong> for executing a Notebook entry, you have to press Shift+ Enter<\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"284\" src=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-5.png\" alt=\"\" class=\"wp-image-139\" srcset=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-5.png 779w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-5-300x109.png 300w, https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-5-768x280.png 768w\" sizes=\"auto, (max-width: 779px) 100vw, 779px\" \/><\/figure>\n\n\n\n<p>This is the basics setup you need. Here is the link for a nice introduction video.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Install Anaconda Python, Jupyter Notebook And Spyder on Windows 10\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/5mDYijMfSzs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Virtual Environments<\/h3>\n\n\n\n<p>Virtual Environments are an isolated development, where you can install additional external modules required for your python.<\/p>\n\n\n\n<p>To know more about virtual environments, please look at this recommended video.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"What are Virtual Environments in Python? - Python Tutorial\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/JWcrseHrh2w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Git <\/h3>\n\n\n\n<p>Git is version control and collaboration tools. It lets you and others work together on projects from anywhere. There are a few concept that are required to master it, like&nbsp;<em>repositories<\/em>,&nbsp;<em>branches<\/em>,&nbsp;<em>commits<\/em>, and&nbsp;<em>Pull Requests<\/em>. <\/p>\n\n\n\n<p>Here is a more complete video about git<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How GitHub works\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/w3jLJU7DT5E?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Git &amp; GitHub Tutorial for Beginners #1 - Why Use Git?\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/3RjQznt-8kE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>This last video is 1st part of a series. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Author: Carlos Santos Learning Line: Programming Course: PR1: Introduction to Programming Week: 1 Competencies: Students will be able to effectively define and use variables, programming flow control. BoKS: 3bK2, The student understands the principles of data related software like Python, R, Scala and\/or Java and knows how to write (basic) scripts. Learning Goals: Variables and [&hellip;]<\/p>\n","protected":false},"author":10,"featured_media":0,"parent":99,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-135","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PR1 - Preparation for Week 1 - Development Environment - Applied Artificial Intelligence and Data Management<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/aaidm.buas.nl\/?page_id=135\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PR1 - Preparation for Week 1 - Development Environment - Applied Artificial Intelligence and Data Management\" \/>\n<meta property=\"og:description\" content=\"Author: Carlos Santos Learning Line: Programming Course: PR1: Introduction to Programming Week: 1 Competencies: Students will be able to effectively define and use variables, programming flow control. BoKS: 3bK2, The student understands the principles of data related software like Python, R, Scala and\/or Java and knows how to write (basic) scripts. Learning Goals: Variables and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/aaidm.buas.nl\/?page_id=135\" \/>\n<meta property=\"og:site_name\" content=\"Applied Artificial Intelligence and Data Management\" \/>\n<meta property=\"article:modified_time\" content=\"2020-07-01T08:03:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-1024x438.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/aaidm.buas.nl\/?page_id=135\",\"url\":\"https:\/\/aaidm.buas.nl\/?page_id=135\",\"name\":\"PR1 - Preparation for Week 1 - Development Environment - Applied Artificial Intelligence and Data Management\",\"isPartOf\":{\"@id\":\"https:\/\/aaidm.buas.nl\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/aaidm.buas.nl\/?page_id=135#primaryimage\"},\"image\":{\"@id\":\"https:\/\/aaidm.buas.nl\/?page_id=135#primaryimage\"},\"thumbnailUrl\":\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-1024x438.png\",\"datePublished\":\"2020-06-29T14:36:29+00:00\",\"dateModified\":\"2020-07-01T08:03:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/aaidm.buas.nl\/?page_id=135#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/aaidm.buas.nl\/?page_id=135\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/aaidm.buas.nl\/?page_id=135#primaryimage\",\"url\":\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3.png\",\"contentUrl\":\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3.png\",\"width\":1123,\"height\":480},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/aaidm.buas.nl\/?page_id=135#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/aaidm.buas.nl\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Year 1\",\"item\":\"https:\/\/aaidm.buas.nl\/?page_id=80\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Year 1 &#8211; Block A\",\"item\":\"https:\/\/aaidm.buas.nl\/?page_id=82\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"PR1: Introduction to Programming\",\"item\":\"https:\/\/aaidm.buas.nl\/?page_id=99\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"PR1 &#8211; Preparation for Week 1 &#8211; Development Environment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/aaidm.buas.nl\/#website\",\"url\":\"https:\/\/aaidm.buas.nl\/\",\"name\":\"Applied Artificial Intelligence and Data Management\",\"description\":\"Course Information\",\"publisher\":{\"@id\":\"https:\/\/aaidm.buas.nl\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/aaidm.buas.nl\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/aaidm.buas.nl\/#organization\",\"name\":\"Applied Artificial Intelligence and Data Management\",\"url\":\"https:\/\/aaidm.buas.nl\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/aaidm.buas.nl\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/buas-logo.png\",\"contentUrl\":\"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/buas-logo.png\",\"width\":382,\"height\":132,\"caption\":\"Applied Artificial Intelligence and Data Management\"},\"image\":{\"@id\":\"https:\/\/aaidm.buas.nl\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PR1 - Preparation for Week 1 - Development Environment - Applied Artificial Intelligence and Data Management","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:\/\/aaidm.buas.nl\/?page_id=135","og_locale":"en_US","og_type":"article","og_title":"PR1 - Preparation for Week 1 - Development Environment - Applied Artificial Intelligence and Data Management","og_description":"Author: Carlos Santos Learning Line: Programming Course: PR1: Introduction to Programming Week: 1 Competencies: Students will be able to effectively define and use variables, programming flow control. BoKS: 3bK2, The student understands the principles of data related software like Python, R, Scala and\/or Java and knows how to write (basic) scripts. Learning Goals: Variables and [&hellip;]","og_url":"https:\/\/aaidm.buas.nl\/?page_id=135","og_site_name":"Applied Artificial Intelligence and Data Management","article_modified_time":"2020-07-01T08:03:28+00:00","og_image":[{"url":"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-1024x438.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/aaidm.buas.nl\/?page_id=135","url":"https:\/\/aaidm.buas.nl\/?page_id=135","name":"PR1 - Preparation for Week 1 - Development Environment - Applied Artificial Intelligence and Data Management","isPartOf":{"@id":"https:\/\/aaidm.buas.nl\/#website"},"primaryImageOfPage":{"@id":"https:\/\/aaidm.buas.nl\/?page_id=135#primaryimage"},"image":{"@id":"https:\/\/aaidm.buas.nl\/?page_id=135#primaryimage"},"thumbnailUrl":"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3-1024x438.png","datePublished":"2020-06-29T14:36:29+00:00","dateModified":"2020-07-01T08:03:28+00:00","breadcrumb":{"@id":"https:\/\/aaidm.buas.nl\/?page_id=135#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/aaidm.buas.nl\/?page_id=135"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aaidm.buas.nl\/?page_id=135#primaryimage","url":"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3.png","contentUrl":"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/image-3.png","width":1123,"height":480},{"@type":"BreadcrumbList","@id":"https:\/\/aaidm.buas.nl\/?page_id=135#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/aaidm.buas.nl\/"},{"@type":"ListItem","position":2,"name":"Year 1","item":"https:\/\/aaidm.buas.nl\/?page_id=80"},{"@type":"ListItem","position":3,"name":"Year 1 &#8211; Block A","item":"https:\/\/aaidm.buas.nl\/?page_id=82"},{"@type":"ListItem","position":4,"name":"PR1: Introduction to Programming","item":"https:\/\/aaidm.buas.nl\/?page_id=99"},{"@type":"ListItem","position":5,"name":"PR1 &#8211; Preparation for Week 1 &#8211; Development Environment"}]},{"@type":"WebSite","@id":"https:\/\/aaidm.buas.nl\/#website","url":"https:\/\/aaidm.buas.nl\/","name":"Applied Artificial Intelligence and Data Management","description":"Course Information","publisher":{"@id":"https:\/\/aaidm.buas.nl\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/aaidm.buas.nl\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/aaidm.buas.nl\/#organization","name":"Applied Artificial Intelligence and Data Management","url":"https:\/\/aaidm.buas.nl\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/aaidm.buas.nl\/#\/schema\/logo\/image\/","url":"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/buas-logo.png","contentUrl":"https:\/\/aaidm.buas.nl\/wp-content\/uploads\/2020\/06\/buas-logo.png","width":382,"height":132,"caption":"Applied Artificial Intelligence and Data Management"},"image":{"@id":"https:\/\/aaidm.buas.nl\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/pages\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=135"}],"version-history":[{"count":2,"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/pages\/135\/revisions"}],"predecessor-version":[{"id":145,"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/pages\/135\/revisions\/145"}],"up":[{"embeddable":true,"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=\/wp\/v2\/pages\/99"}],"wp:attachment":[{"href":"https:\/\/aaidm.buas.nl\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}