{"id":37526,"date":"2016-09-11T14:13:42","date_gmt":"2016-09-11T19:13:42","guid":{"rendered":"http:\/\/sierrablogsite.wordpress.com\/?p=341"},"modified":"2016-09-11T14:13:42","modified_gmt":"2016-09-11T19:13:42","slug":"librariesmodules","status":"publish","type":"post","link":"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/librariesmodules\/","title":{"rendered":"Libraries\/Modules"},"content":{"rendered":"<p class=\"syndicated-attribution\"><em> --Originally published at <a href=\"https:\/\/sierrablogsite.wordpress.com\/2016\/09\/11\/librariesmodules\/\"><a href=\"https:\/\/sierrablogsite.wordpress.com\">Sierra&amp;#039;s Blog<\/a><\/a><\/em><br \/><\/p>\n<p>Libraries in Python will save you tons of time, they&#8217;re already done functions that you must import to your program to be able to use.<\/p>\n<h2>How do we use them?<\/h2>\n<p>there are two ways to use them, the first one is to\u00a0write import and then the module that you want to use, for example, the math module can be used for typing the value of pi, obtain sin(x), cos(x), etc..<\/p>\n<p>after you import a library you can call it writing the name of the module, a dot, and then, the thing inside the module that you want to use, for example:<\/p>\n<p><img class=\"alignnone size-full wp-image-366\" src=\"https:\/\/sierrablogsite.files.wordpress.com\/2016\/09\/libraries1.png?w=702\" alt=\"libraries1\"   \/><\/p>\n<p>in this example python is gonna print\u00a03.141592653589793<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>i&#8217;ll give you a link to a video tutorial made by <a class=\"g-hovercard yt-uix-sessionlink      spf-link \" href=\"https:\/\/www.youtube.com\/channel\/UC_QUaBfd6LwbQ9xxKU9ojkw\">rcasanueva<\/a>:<\/p>\n<div class=\"jetpack-video-wrapper\"><iframe class='youtube-player' type='text\/html' width='702' height='425' src='https:\/\/www.youtube.com\/embed\/nIMXN9ajmGA?version=3&#038;rel=1&%23038;fs=1&%23038;autohide=2&%23038;showsearch=0&%23038;showinfo=1&%23038;iv_load_policy=1&%23038;wmode=transparent' allowfullscreen='true' style='border:0;'><\/iframe><\/div>\n<p>&nbsp;<\/p>\n<p>and here&#8217;s a list of python&#8217;s libraries for you to check or use (Click on the image):<\/p>\n<p><a href=\"https:\/\/docs.python.org\/3\/py-modindex.html\" ><img class=\"\" src=\"https:\/\/c1.staticflickr.com\/7\/6195\/6112032080_6136a54dfa_b.jpg\" alt=\"Sin t\u00edtulo\" width=\"381\" height=\"253\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p><br \/>  <a rel=\"nofollow\" href=\"http:\/\/feeds.wordpress.com\/1.0\/gocomments\/sierrablogsite.wordpress.com\/341\/\"><img alt=\"\" border=\"0\" src=\"http:\/\/feeds.wordpress.com\/1.0\/comments\/sierrablogsite.wordpress.com\/341\/\" \/><\/a> <img alt=\"\" border=\"0\" src=\"https:\/\/pixel.wp.com\/b.gif?host=sierrablogsite.wordpress.com&#038;blog=115557456&%23038;post=341&%23038;subd=sierrablogsite&%23038;ref=&%23038;feed=1\" width=\"1\" height=\"1\" \/>","protected":false},"excerpt":{"rendered":"<p>&#8211;Originally published at Sierra&amp;#039;s Blog Libraries in Python will save you tons of time, they&#8217;re already done functions that you must import to your program to be able to use. How do we use them? there are two ways to use them, the first one is to\u00a0write import and then the module that you want &hellip; <a href=\"https:\/\/kenscourses.com\/tc101fall2016\/syndicated\/librariesmodules\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Libraries\/Modules<\/span><\/a><\/p>\n","protected":false},"author":45,"featured_media":366,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,4],"tags":[26],"class_list":["post-37526","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blogs","category-syndicated","tag-sin-categoria"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/comments?post=37526"}],"version-history":[{"count":4,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37526\/revisions"}],"predecessor-version":[{"id":38121,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/posts\/37526\/revisions\/38121"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/media?parent=37526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/categories?post=37526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2016\/wp-json\/wp\/v2\/tags?post=37526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}