{"id":311,"date":"2020-02-12T10:10:33","date_gmt":"2020-02-12T10:10:33","guid":{"rendered":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/codersrefuge.000webhostapp.com\/?page_id=311"},"modified":"2020-10-21T16:52:59","modified_gmt":"2020-10-21T16:52:59","slug":"python-intermediate","status":"publish","type":"page","link":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/python\/python-intermediate\/","title":{"rendered":"Python Intermediate"},"content":{"rendered":"\n<p>A compilation of all the Python Intermediate topics in <strong>Coderslegacy<\/strong>. Sequel to the <a href=\"https:\/\/coderslegacy.com\/python\/learning-the-basics\/\">Python Basics section<\/a>, and prequal to the <a href=\"https:\/\/coderslegacy.com\/python\/python-advanced\/\">Python Advanced section<\/a>. <\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/python-classes\/\">Python Classes<\/a>: A&nbsp;<strong>class<\/strong>&nbsp;is used to define the characteristics of an&nbsp;<strong>object<\/strong>&nbsp;(fields and properties) and the things it can do (methods). Broaden your concepts by entering the world of Object Oriented Programming. <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/python-variable-scope\/\">Python Variable Scope:<\/a> Understand the concept of Local and Global scopes in Python, and how they effect the access level of the variables. Variable scope is an important concept utilized heavily in Classes and Functions.<\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/python-advanced-file-handling\/\">Python Advanced File Handling:<\/a> File Handling is tricky business. Once you begin using File Handling on a larger scale in bigger applications you&#8217;ll come across many obstacles and complexities. This article will walk you through most of these problems, and teach you how to use File handling for more advanced purposes (Like saving and loading game files).<\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-os\/\">Python OS:<\/a>  A simple, but important built-in-library that deals with several commands related to the <strong>OS<\/strong> and <strong>system<\/strong>. Comes with several useful functions for walking through directories, changing files names, manipulating the current working directory and more. <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-sys\/\">Python Sys:<\/a>  A simple, but important built-in-library that deals with several commands related to the <strong>os<\/strong> and <strong>system<\/strong>. Has several useful functions that deal with learning more about your target PC.   <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-logging\/\">Python Logging:<\/a>  Teaches you the concept of creating system logs to track your program activities and events that occur during execution. All these are saved to a single file, which we call, a &#8220;log&#8221; file. This file can be used for troubleshooting or debugging later on <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-numpy\/\">Python numpy:<\/a>  <strong>Numpy<\/strong>&nbsp;is the core library for scientific computing in Python. Amongst other things, it provides with the ability to create multidimensional array objects and the tools to manipulate them further. <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-regex\/\">Python Regex:<\/a>  Python Regex, or \u201cRegular Expression\u201d, is a sequence of characters that define a search pattern. This search pattern is then used to perform operations on strings, such as \u201cfind\u201d or \u201cfind and replace\u201d. In short, Regex can be used to check if a string contains a specified string pattern.<\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/python-mysql\/\">Python MySQL:<\/a>  <strong>MySQL<\/strong>&nbsp;is a relational database management system. Where there are web applications, databases are bound to come up at some point, and that brings us to the&nbsp;<strong>Python MySQL<\/strong>&nbsp;library, which enables us to communicate between the Python code and a database.<\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-openpyxl\/\">Python Openpyxl:<\/a> The library openpyxl deals with the powerful spreadsheet application, Microsoft Excel. The openpyxl module allows your Python programs to read and modify Excel spreadsheet files. openpyxl really shines when it comes to automating tasks for Microsoft Excel. <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-pyautogui\/\">Python pyautogui:<\/a>  <strong>PyAutoGUI<\/strong>&nbsp;is a cross-platform GUI automation Python module for human beings. It is used to programmatically control the mouse and keyboard as a human might. Because of this, the Python pyautogui library proves very useful when it comes to automating tasks on your computer.  <\/p>\n\n\n\n<p><a href=\"https:\/\/coderslegacy.com\/python\/libraries-in-python\/python-webbrowser\/\">Python Webbrowser:<\/a> The&nbsp;<strong>webbrowser<\/strong>&nbsp;module provides a high-level interface to allow displaying Web-based documents to users. This guide will go through how to use this module to display and manipulate web pages. <\/p>\n\n\n\n<div style=\"height:35px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr>\n\n\n\n<p>If you have any suggestions for our Python Intermediate section, feel free to mentioned so below in the comments. Any contributions for CodersLegacy are more than welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A compilation of all the Python Intermediate topics in Coderslegacy. Sequel to the Python Basics section, and prequal to the Python Advanced section. Python Classes: A&nbsp;class&nbsp;is used to define the characteristics of an&nbsp;object&nbsp;(fields and properties) and the things it can do (methods). Broaden your concepts by entering the world of Object Oriented Programming. Python Variable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":269,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python Intermediate - CodersLegacy<\/title>\n<meta name=\"description\" content=\"A compilation of all the topics in our Python Intermediate course. Python Classes, Advanced File Handling, Regex, GUI&#039;s and more!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/coderslegacy.com\/python\/python-intermediate\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Intermediate - CodersLegacy\" \/>\n<meta property=\"og:description\" content=\"A compilation of all the topics in our Python Intermediate course. Python Classes, Advanced File Handling, Regex, GUI&#039;s and more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/coderslegacy.com\/python\/python-intermediate\/\" \/>\n<meta property=\"og:site_name\" content=\"CodersLegacy\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-21T16:52:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/coderslegacy.com\/wp-content\/uploads\/2020\/04\/CodersLegacy1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1424\" \/>\n\t<meta property=\"og:image:height\" content=\"736\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/coderslegacy.com\/#\/schema\/person\/17394e73d701df272ba635f17f0a4e8d\",\"name\":\"Siddiqi\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/coderslegacy.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff7fec84138d1e1a4c04fe8ca227d429?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff7fec84138d1e1a4c04fe8ca227d429?s=96&d=mm&r=g\",\"caption\":\"Siddiqi\"},\"logo\":{\"@id\":\"https:\/\/coderslegacy.com\/#personlogo\"},\"sameAs\":[\"http:\/\/coderslegacy.com\"]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/coderslegacy.com\/#website\",\"url\":\"https:\/\/coderslegacy.com\/\",\"name\":\"CodersLegacy\",\"description\":\"Imparting knowledge to the Future\",\"publisher\":{\"@id\":\"https:\/\/coderslegacy.com\/#\/schema\/person\/17394e73d701df272ba635f17f0a4e8d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/coderslegacy.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/coderslegacy.com\/python\/python-intermediate\/#webpage\",\"url\":\"https:\/\/coderslegacy.com\/python\/python-intermediate\/\",\"name\":\"Python Intermediate - CodersLegacy\",\"isPartOf\":{\"@id\":\"https:\/\/coderslegacy.com\/#website\"},\"datePublished\":\"2020-02-12T10:10:33+00:00\",\"dateModified\":\"2020-10-21T16:52:59+00:00\",\"description\":\"A compilation of all the topics in our Python Intermediate course. Python Classes, Advanced File Handling, Regex, GUI's and more!\",\"breadcrumb\":{\"@id\":\"https:\/\/coderslegacy.com\/python\/python-intermediate\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/coderslegacy.com\/python\/python-intermediate\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/coderslegacy.com\/python\/python-intermediate\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/coderslegacy.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/coderslegacy.com\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python Intermediate\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/pages\/311"}],"collection":[{"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/comments?post=311"}],"version-history":[{"count":1,"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/pages\/311\/revisions"}],"predecessor-version":[{"id":5130,"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/pages\/311\/revisions\/5130"}],"up":[{"embeddable":true,"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/pages\/269"}],"wp:attachment":[{"href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/coderslegacy.com\/wp-json\/wp\/v2\/media?parent=311"}],"curies":[{"name":"wp","href":"https:\/\/web.archive.org\/web\/20210702152242\/https:\/\/api.w.org\/{rel}","templated":true}]}}