{"id":388,"date":"2020-03-17T07:59:20","date_gmt":"2020-03-17T07:59:20","guid":{"rendered":"http:\/\/learnlearn.uk\/alevelcs\/?page_id=388"},"modified":"2021-02-03T12:13:20","modified_gmt":"2021-02-03T12:13:20","slug":"library-programs","status":"publish","type":"page","link":"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/","title":{"rendered":"Library Programs"},"content":{"rendered":"<div class=\"responsive-tabs\">\n<h2 class=\"tabtitle\">External Libraries<\/h2>\n<div class=\"tabcontent\">\n\n<h3>External Libraries<\/h3>\n<p>Most software that programmers create rely on the use of external libraries to function, beyond the basic subset that is provided within the programming language itself. The libraries (in Python we call them modules) are usually imported when required. Some external libraries are come pre-installed, others must be downloaded and install prior to use.<\/p>\n<p><strong>Examples of\u00a0 pre-installed external libraries in Python<\/strong><\/p>\n<ul>\n<li>DateTime\u00a0 &#8211; Allows the use of date and time information<\/li>\n<li>Os\u00a0 &#8211; Allows low-level interaction with the Operating System.<\/li>\n<li>Math &#8211; Maths functions like Cos\/Sin<\/li>\n<li>Random &#8211; Generate Pseudorandom numbers<\/li>\n<\/ul>\n<p><strong>Examples of downloadable libraries<\/strong><\/p>\n<ul>\n<li>Pygame &#8211; Create a 2D games in Python<\/li>\n<li>PIL\/PILLOW &#8211; Python Imaging Library &#8211; Allows the editing\/creating of image files<\/li>\n<li>MatPlotLib &#8211; More complicated graphical maths<\/li>\n<li>OpenCV &#8211; Image recognition library<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Dynamic Link Libraries<\/h2>\n<div class=\"tabcontent\">\n\n<h3>Dynamic Link Libraries<\/h3>\n<p>The Microsoft Windows operating system contains a number of in-built libraries that can be used by software engineers when developing software. These libraries are known as Dynamic Link Libraries.<\/p>\n<h4>Common DLLs in Windows<\/h4>\n<p><strong>The File\/Folder Open Dialogue Box<\/strong><\/p>\n<p><a href=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-389 size-medium\" src=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box-300x228.png?_t=1584431289\" alt=\"CIE Dynamic Link Libraries Tutorial A Level\" width=\"300\" height=\"228\" srcset=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box-300x228.png 300w, https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box-768x583.png 768w, https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box-1024x777.png 1024w, https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box.png 1463w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Advantages &amp; Disadvantages<\/h2>\n<div class=\"tabcontent\">\n\n<p><strong>Advantages of Library Files<\/strong><\/p>\n<ul>\n<li>Speed up software development process as you don&#8217;t have to re-engineer functionality that has already been implemented by others<\/li>\n<li>Allows use of functionality that you may not be a specialist in<\/li>\n<li>More consistent user experience throughout the operating system<\/li>\n<li>More robust software as the module will have already been extensively tested by others<\/li>\n<\/ul>\n<p><strong>Disadvantages of Library Files<\/strong><\/p>\n<ul>\n<li>You don&#8217;t know what the library is doing &#8211; it could be doing something malicious or malfunctioning in some way.<\/li>\n<li>You can&#8217;t update the library yourself if there is an issue &#8211; you have to wait for a fix to be implemented.<\/li>\n<li>Some libraries have a large storage \/memory \/ CPU overhead in comparison to custom code implementations.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n\n<\/div><h2 class=\"tabtitle\">Resources<\/h2>\n<div class=\"tabcontent\">\n\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>External Libraries Most software that programmers create rely on the use of external libraries to function, beyond the basic subset that is provided within the programming language itself. The libraries (in Python we call them modules) are usually imported when required. Some external libraries are come pre-installed, others must be downloaded and install prior to&hellip;&nbsp;<a href=\"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/\" class=\"\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Library Programs<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"right","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":70,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Library Programs - A Level Computer Science<\/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:\/\/learnlearn.uk\/alevelcs\/library-programs\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Library Programs - A Level Computer Science\" \/>\n<meta property=\"og:description\" content=\"External Libraries Most software that programmers create rely on the use of external libraries to function, beyond the basic subset that is provided within the programming language itself. The libraries (in Python we call them modules) are usually imported when required. Some external libraries are come pre-installed, others must be downloaded and install prior to&hellip;&nbsp;Read More &raquo;Library Programs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/\" \/>\n<meta property=\"og:site_name\" content=\"A Level Computer Science\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-03T12:13:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box-300x228.png?_t=1584431289\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated 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:\/\/learnlearn.uk\/alevelcs\/library-programs\/\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/\",\"name\":\"Library Programs - A Level Computer Science\",\"isPartOf\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#website\"},\"datePublished\":\"2020-03-17T07:59:20+00:00\",\"dateModified\":\"2021-02-03T12:13:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"A Level Computer Science Home\",\"item\":\"https:\/\/learnlearn.uk\/alevelcs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Library Programs\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#website\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/\",\"name\":\"A Level Computer Science\",\"description\":\"CIE Specification\",\"publisher\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learnlearn.uk\/alevelcs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#organization\",\"name\":\"A Level Computer Science\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png\",\"contentUrl\":\"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png\",\"width\":710,\"height\":98,\"caption\":\"A Level Computer Science\"},\"image\":{\"@id\":\"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Library Programs - A Level Computer Science","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:\/\/learnlearn.uk\/alevelcs\/library-programs\/","og_locale":"en_GB","og_type":"article","og_title":"Library Programs - A Level Computer Science","og_description":"External Libraries Most software that programmers create rely on the use of external libraries to function, beyond the basic subset that is provided within the programming language itself. The libraries (in Python we call them modules) are usually imported when required. Some external libraries are come pre-installed, others must be downloaded and install prior to&hellip;&nbsp;Read More &raquo;Library Programs","og_url":"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/","og_site_name":"A Level Computer Science","article_modified_time":"2021-02-03T12:13:20+00:00","og_image":[{"url":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2020\/03\/Windows-File-Open-Dialogue-box-300x228.png?_t=1584431289"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/","url":"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/","name":"Library Programs - A Level Computer Science","isPartOf":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#website"},"datePublished":"2020-03-17T07:59:20+00:00","dateModified":"2021-02-03T12:13:20+00:00","breadcrumb":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learnlearn.uk\/alevelcs\/library-programs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/learnlearn.uk\/alevelcs\/library-programs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"A Level Computer Science Home","item":"https:\/\/learnlearn.uk\/alevelcs\/"},{"@type":"ListItem","position":2,"name":"Library Programs"}]},{"@type":"WebSite","@id":"https:\/\/learnlearn.uk\/alevelcs\/#website","url":"https:\/\/learnlearn.uk\/alevelcs\/","name":"A Level Computer Science","description":"CIE Specification","publisher":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learnlearn.uk\/alevelcs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/learnlearn.uk\/alevelcs\/#organization","name":"A Level Computer Science","url":"https:\/\/learnlearn.uk\/alevelcs\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/","url":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png","contentUrl":"https:\/\/learnlearn.uk\/alevelcs\/wp-content\/uploads\/sites\/20\/2019\/09\/LearnLearnLogowhite.png","width":710,"height":98,"caption":"A Level Computer Science"},"image":{"@id":"https:\/\/learnlearn.uk\/alevelcs\/#\/schema\/logo\/image\/"}}]}},"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"learnlearnadmin","author_link":"https:\/\/learnlearn.uk\/alevelcs\/author\/learnlearnadmin\/"},"rttpg_comment":0,"rttpg_category":null,"rttpg_excerpt":"External Libraries Most software that programmers create rely on the use of external libraries to function, beyond the basic subset that is provided within the programming language itself. The libraries (in Python we call them modules) are usually imported when required. Some external libraries are come pre-installed, others must be downloaded and install prior to&hellip;&nbsp;Read&hellip;","_links":{"self":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/388"}],"collection":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":1,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/388\/revisions"}],"predecessor-version":[{"id":390,"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/pages\/388\/revisions\/390"}],"wp:attachment":[{"href":"https:\/\/learnlearn.uk\/alevelcs\/wp-json\/wp\/v2\/media?parent=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}