1<!DOCTYPE html> 2<html lang="en-US"> 3<head> 4 <meta charset="UTF-8"> 5 <meta name="google-site-verification" content="WLX_YAIgPplmMAYHfMVHMv7ed6Pda3ydo0fxDV3u5tk" /> 6
6<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4661872871055845" crossorigin="anonymous"></script>
6 7 8 <!-- Global site tag (gtag.js) - Google Analytics -->
vendor: 68 bytes, lines 8-9
8 9 <script async src="https://www.googletagmanager.com/gtag/js?id=
9UA-163881241-1
vendor: 16 bytes, lines 9-10
9"></script> 10
10<script> 11
vendor: 150 bytes, lines 11-15
11window.dataLayer = window.dataLayer || []; 12 function gtag(){dataLayer.push(arguments);} 13 gtag('js', new Date()); 14 15 gtag('config', '
15UA-163881241-1
vendor: 8 bytes, lines 15-16
15'); 16
16</script>
16 17 <meta name="viewport" content="width=device-width, initial-scale=1"> 18 <link rel="profile" href="https://gmpg.org/xfn/11"> 19 <!-- Global site tag (gtag.js) - Google Analytics --> 20 <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> 21<meta name="dlm-version" content="5.1.6"><meta name="viewport" content="width=device-width, initial-scale=1"> 22 <!-- This site is optimized with the Yoast SEO plugin v26.3 - https://yoast.com/wordpress/plugins/seo/ --> 23 <title>Learn PYTHON - CodersLegacy</title> 24 <meta name="description" content="Python is a High Level, Object Oriented language released in the 1990's. It gained popularity in the 2000's for it's easy and simple to use syntax" /> 25 <link rel="canonical" href="https://coderslegacy.com/python/" /> 26 <meta property="og:locale" content="en_US" /> 27 <meta property="og:type" content="article" /> 28 <meta property="og:title" content="Learn PYTHON - CodersLegacy" /> 29 <meta property="og:description" content="Python is a High Level, Object Oriented language released in the 1990's. It gained popularity in the 2000's for it's easy and simple to use syntax" /> 30 <meta property="og:url" content="https://coderslegacy.com/python/" /> 31 <meta property="og:site_name" content="CodersLegacy" /> 32 <meta property="article:modified_time" content="2021-07-29T06:07:45+00:00" /> 33 <meta property="og:image" content="https://coderslegacy.com/wp-content/uploads/2020/04/CodersLegacy1.jpg" /> 34 <meta property="og:image:width" content="1424" /> 35 <meta property="og:image:height" content="736" /> 36 <meta property="og:image:type" content="image/jpeg" /> 37 <meta name="twitter:card" content="summary_large_image" /> 38 <meta name="twitter:label1" content="Est. reading time" /> 39 <meta name="twitter:data1" content="3 minutes" /> 40
40<script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://coderslegacy.com/python/","url":"https://coderslegacy.com/python/","name":"Learn PYTHON - CodersLegacy","isPartOf":{"@id":"https://coderslegacy.com/#website"},"datePublished":"2020-02-12T10:04:34+00:00","dateModified":"2021-07-29T06:07:45+00:00","description":"Python is a High Level, Object Oriented language released in the 1990's. It gained popularity in the 2000's for it's easy and simple to use syntax","breadcrumb":{"@id":"https://coderslegacy.com/python/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://coderslegacy.com/python/"]}]},{"@type":"BreadcrumbList","@id":"https://coderslegacy.com/python/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://coderslegacy.com/"},{"@type":"ListItem","position":2,"name":"Python"}]},{"@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/561a3b194ec717af58f3de2cf596a928"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://coderslegacy.com/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https://coderslegacy.com/#/schema/person/561a3b194ec717af58f3de2cf596a928","name":"Siddiqi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://coderslegacy.com/#/schema/person/image/","url":"https://coderslegacy.com/wp-content/uploads/2023/02/CodersLegacyLogo.jpg","contentUrl":"https://coderslegacy.com/wp-content/uploads/2023/02/CodersLegacyLogo.jpg","width":340,"height":74,"caption":"Siddiqi"},"logo":{"@id":"https://coderslegacy.com/#/schema/person/image/"},"sameAs":["http:////coderslegacy.com"]}]}</script>
40 41 <!-- / Yoast SEO plugin. --> 42 43 44<link rel="alternate" type="application/rss+xml" title="CodersLegacy » Feed" href="https://coderslegacy.com/feed/" /> 45<link rel="alternate" type="application/rss+xml" title="CodersLegacy » Comments Feed" href="https://coderslegacy.com/comments/feed/" /> 46<link rel="alternate" type="application/rss+xml" title="CodersLegacy » Learn PYTHON Comments Feed" href="https://coderslegacy.com/python/feed/" /> 47<link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://coderslegacy.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fcoderslegacy.com%2Fpython%2F" /> 48<link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://coderslegacy.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fcoderslegacy.com%2Fpython%2F&format=xml" /> 49<style id='wp-img-auto-sizes-contain-inline-css'> 50img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px} 51/*# sourceURL=wp-img-auto-sizes-contain-inline-css */ 52</style> 53<style id='wp-emoji-styles-inline-css'> 54 55 img.wp-smiley, img.emoji { 56 display: inline !important; 57 border: none !important; 58 box-shadow: none !important; 59 height: 1em !important; 60 width: 1em !important; 61 margin: 0 0.07em !important; 62 vertical-align: -0.1em !important; 63 background: none !important; 64 padding: 0 !important; 65 } 66/*# sourceURL=wp-emoji-styles-inline-css */ 67</style> 68<link rel='stylesheet' id='wp-block-library-css' href='https://coderslegacy.com/wp-includes/css/dist/block-library/style.min.css?ver=61ab892d9a6a933012b2af761cb47ad0' media='all' /> 69 70<style id='wp-block-heading-inline-css'> 71h1:where(.wp-block-heading).has-background,h2:where(.wp-block-heading).has-background,h3:where(.wp-block-heading).has-background,h4:where(.wp-block-heading).has-background,h5:where(.wp-block-heading).has-background,h6:where(.wp-block-heading).has-background{padding:1.25em 2.375em}h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h2.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h2.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h3.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h3.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h4.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h4.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h5.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h5.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]),h6.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),h6.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]){rotate:180deg} 72/*# sourceURL=https://coderslegacy.com/wp-includes/blocks/heading/style.min.css */ 73</style> 74<style id='wp-block-search-inline-css'> 75.wp-block-search__button{margin-left:10px;word-break:normal}.wp-block-search__button.has-icon{line-height:0}.wp-block-search__button svg{height:1.25em;min-height:24px;min-width:24px;width:1.25em;fill:currentColor;vertical-align:text-bottom}:where(.wp-block-search__button){border:1px solid #ccc;padding:6px 10px}.wp-block-search__inside-wrapper{display:flex;flex:auto;flex-wrap:nowrap;max-width:100%}.wp-block-search__label{width:100%}.wp-block-search.wp-block-search__button-only .wp-block-search__button{box-sizing:border-box;display:flex;flex-shrink:0;justify-content:center;margin-left:0;max-width:100%}.wp-block-search.wp-block-search__button-only .wp-block-search__inside-wrapper{min-width:0!important;transition-property:width}.wp-block-search.wp-block-search__button-only .wp-block-search__input{flex-basis:100%;transition-duration:.3s}.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden,.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper{overflow:hidden}.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden .wp-block-search__input{border-left-width:0!important;border-right-width:0!important;flex-basis:0;flex-grow:0;margin:0;min-width:0!important;padding-left:0!important;padding-right:0!important;width:0!important}:where(.wp-block-search__input){appearance:none;border:1px solid #949494;flex-grow:1;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin-left:0;margin-right:0;min-width:3rem;padding:8px;text-decoration:unset!important;text-transform:inherit}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper){background-color:#fff;border:1px solid #949494;box-sizing:border-box;padding:4px}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input{border:none;border-radius:0;padding:0 4px}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input:focus{outline:none}:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) :where(.wp-block-search__button){padding:4px 8px}.wp-block-search.aligncenter .wp-block-search__inside-wrapper{margin:auto}.wp-block[data-align=right] .wp-block-search.wp-block-search__button-only .wp-block-search__inside-wrapper{float:right} 76/*# sourceURL=https://coderslegacy.com/wp-includes/blocks/search/style.min.css */ 77</style> 78<style id='wp-block-paragraph-inline-css'> 79.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg} 80/*# sourceURL=https://coderslegacy.com/wp-includes/blocks/paragraph/style.min.css */ 81</style> 82<style id='wp-block-separator-inline-css'> 83@charset "UTF-8";.wp-block-separator{border:none;border-top:2px solid}:root :where(.wp-block-separator.is-style-dots){height:auto;line-height:1;text-align:center}:root :where(.wp-block-separator.is-style-dots):before{color:currentColor;content:"···";font-family:serif;font-size:1.5em;letter-spacing:2em;padding-left:2em}.wp-block-separator.is-style-dots{background:none!important;border:none!important}
84/*# sourceURL=https://coderslegacy.com/wp-includes/blocks/separator/style.min.css */ 85</style> 86<style id='wp-block-spacer-inline-css'> 87.wp-block-spacer{clear:both} 88/*# sourceURL=https://coderslegacy.com/wp-includes/blocks/spacer/style.min.css */ 89</style> 90 91<style id='classic-theme-styles-inline-css'> 92/*! This file is auto-generated */ 93.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} 94/*# sourceURL=/wp-includes/css/classic-themes.min.css */ 95</style> 96<style id='global-styles-inline-css'> 97:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--color--contrast: var(--contrast);--wp--preset--color--contrast-2: var(--contrast-2);--wp--preset--color--contrast-3: var(--contrast-3);--wp--preset--color--base: var(--base);--wp--preset--color--base-2: var(--base-2);--wp--preset--color--base-3: var(--base-3);--wp--preset--color--accent: var(--accent);--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgb(6,147,227) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgb(252,185,0) 0%,rgb(255,105,0) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgb(255,105,0) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);
97--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgb(255, 255, 255), 6px 6px rgb(0, 0, 0);--wp--preset--shadow--crisp: 6px 6px 0px rgb(0, 0, 0);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}
97.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} 98/*# sourceURL=global-styles-inline-css */ 99</style> 100 101<link rel='stylesheet' id='SFSImainCss-css' href='https://coderslegacy.com/wp-content/plugins/ultimate-social-media-icons/css/sfsi-style.css?ver=2.9.6' media='all' /> 102<link rel='stylesheet' id='generate-style-css' href='https://coderslegacy.com/wp-content/themes/generatepress/assets/css/all.min.css?ver=3.3.1' media='all' /> 103<style id='generate-style-inline-css'> 104body{background-color:#ffffff;color:#3a3a3a;}a{color:#1e73be;}a:hover, a:focus{text-decoration:underline;}.entry-title a, .site-branding a, a.button, .wp-block-button__link, .main-navigation a{text-decoration:none;}a:hover, a:focus, a:active{color:#000000;}body .grid-container{max-width:1400px;}.wp-block-group__inner-container{max-width:1400px;margin-left:auto;margin-right:auto;}:root{--contrast:#222222;--contrast-2:#575760;--contrast-3:#b2b2be;--base:#f0f0f0;--base-2:#f7f8f9;--base-3:#ffffff;--accent:#1e73be;}:root .has-contrast-color{color:var(--contrast);}:root .has-contrast-background-color{background-color:var(--contrast);}:root .has-contrast-2-color{color:var(--contrast-2);}:root .has-contrast-2-background-color{background-color:var(--contrast-2);}:root .has-contrast-3-color{color:var(--contrast-3);}:root .has-contrast-3-background-color{background-color:var(--contrast-3);}:root .has-base-color{color:var(--base);}:root .has-base-background-color{background-color:var(--base);}:root .has-base-2-color{color:var(--base-2);}:root .has-base-2-background-color{background-color:var(--base-2);}:root .has-base-3-color{color:var(--base-3);}:root .has-base-3-background-color{background-color:var(--base-3);}:root .has-accent-color{color:var(--accent);}:root .has-accent-background-color{background-color:var(--accent);}body, button, input, select, textarea{font-family:-apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";}body{line-height:1.5;}.entry-content > [class*="wp-block-"]:not(:last-child):not(.wp-block-heading){margin-bottom:1.5em;}.main-title{font-size:45px;}.main-navigation .main-nav ul ul li a{font-size:14px;}.sidebar .widget, .footer-widgets .widget{font-size:17px;}h1{font-weight:300;font-size:40px;}h2{font-weight:300;font-size:30px;}h3{font-size:20px;}h4{font-size:inherit;}h5{font-size:inherit;}@media (max-width:768px){.main-title{font-size:30px;}h1{font-size:30px;}h2{font-size:25px;}}.top-bar{background-color:#636363;color:#ffffff;}.top-bar a{color:#ffffff;}.top-bar a:hover{color:#303030;}.site-header{background-color:#ffffff;color:#3a3a3a;}.site-header a{color:#3a3a3a;}.main-title a,.main-title a:hover{color:#222222;}.site-description{color:#757575;}.main-navigation,.main-navigation ul ul{background-color:var(--accent);}.main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items{color:var(--base-3);}.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{color:var(--contrast);background-color:var(--contrast-3);}button.menu-toggle:hover,button.menu-toggle:focus,.main-navigation .mobile-bar-items a,.main-navigation .mobile-bar-items a:hover,.main-navigation .mobile-bar-items a:focus{color:var(--base-3);}.main-navigation .main-nav ul li[class*="current-menu-"] > a{color:var(--contrast);background-color:var(--contrast-3);}.navigation-search input[type="search"],.navigation-search input[type="search"]:active, .navigation-search input[type="search"]:focus, .main-navigation .main-nav ul li.search-item.active > a, .main-navigation .menu-bar-items .search-item.active > a{color:var(--contrast);background-color:var(--contrast-3);}.main-navigation ul ul{background-color:var(--contrast-2);}.main-navigation .main-nav ul ul li a{color:#ffffff;}.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):hover > a,.main-navigation .main-nav ul ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul ul li.sfHover:not([class*="current-menu-"]) > a{color:#ffffff;background-color:#4f4f4f;}.main-navigation .main-nav ul ul li[class*="current-menu-"] > a{color:#ffffff;background-color:#4f4f4f;}.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .one-container .container, .separate-containers .paging-navigation, .inside-page-header{background-color:#ffffff;}.entry-meta{color:#595959;}.entry-meta a{color:#595959;}.entry-meta a:hover{color:#1e73be;}.sidebar .widget{background-color:#ffffff;}.sidebar .widget .widget-title{color:#000000;}.footer-widgets{background-color:#ffffff;}.footer-widgets .widget-title{color:#000000;}.site-info{color:#ffffff;background-color:#222222;}.site-info a{color:#ffffff;}.site-info a:hover{color:#606060;}.footer-bar .widget_nav_menu .current-menu-item a{color:#606060;}input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="tel"],input[type="number"],textarea,select{color:#666666;background-color:#fafafa;border-color:#cccccc;}input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="number"]:focus,textarea:focus,select:focus{color:#666666;background-color:#ffffff;border-color:#bfbfbf;}button,html input[type="button"],input[type="reset"],input[type="submit"],a.button,a.wp-block-button__link:not(.has-background){color:#ffffff;background-color:#666666;}button:hover,html input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover,a.button:hover,button:focus,html input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,a.button:focus,a.wp-block-button__link:not(.has-background):active,a.wp-block-button__link:not(.has-background):focus,a.wp-block-button__link:not(.has-background):hover{color:#ffffff;background-color:#3f3f3f;}a.generate-back-to-top{background-color:rgba( 0,0,0,0.4 );color:#ffffff;}a.generate-back-to-top:hover,a.generate-back-to-top:focus{background-color:rgba( 0,0,0,0.6 );color:#ffffff;}:root{--gp-search-modal-bg-color:var(--base-3);--gp-search-modal-text-color:var(--contrast);--gp-search-modal-overlay-bg-color:rgba(0,0,0,0.2);}@media (max-width:768px){.main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a{background:none;color:var(--base-3);}}.inside-top-bar{padding:10px;}.inside-header{padding:40px;}.site-main .wp-block-group__inner-container{padding:40px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-40px;width:calc(100% + 80px);max-width:calc(100% + 80px);}.rtl .menu-item-has-children .dropdown-menu-toggle{padding-left:20px;}.rtl .main-navigation .main-nav ul li.menu-item-has-children > a{padding-right:20px;}.site-info{padding:20px;}@media (max-width:768px){.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header{padding:30px;}.site-main .wp-block-group__inner-container{padding:30px;}.site-info{padding-right:10px;padding-left:10px;}.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull{margin-left:-30px;width:calc(100% + 60px);max-width:calc(100% + 60px);}}.one-container .sidebar .widget{padding:0px;}/* End cached CSS */@media (max-width:768px){.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder){display:block;}.main-navigation ul,.gen-sidebar-nav{display:none;}[class*="nav-float-"] .site-header .inside-header > *{float:none;clear:both;}} 105/*# sourceURL=generate-style-inline-css */ 106</style> 107<link rel='stylesheet' id='generate-font-icons-css' href='https://coderslegacy.com/wp-content/themes/generatepress/assets/css/components/font-icons.min.css?ver=3.3.1' media='all' />
108<script src="https://coderslegacy.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script>
vendor: 1 bytes, line 108
108
109<script src="https://coderslegacy.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script>
109 110<link rel="https://api.w.org/" href="https://coderslegacy.com/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://coderslegacy.com/wp-json/wp/v2/pages/269" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://coderslegacy.com/xmlrpc.php?rsd" /> 111 112<link rel='shortlink' href='https://coderslegacy.com/?p=269' /> 113<meta name="follow.it-verification-code-SThISk1FQVRUb2lXc0xmcnRESkdLK1oyMUdPM1lodFozN3dUeVkva1BmaWlHdjIvbDlnMWIzZDNLM3BudE9WcGx6S21QRGc1bkRyZHcyS2hwS3dDOUZ0R3dNNCtXZFVuSWFQYytYZXowMmFhZzlpTDRVNTFJV1lqeWNWZ0d0VWh8S2dVeVVXU1NrNUlXU3UvRUUvZ3lPRW5weXNuWWRRYnZHUk8zcWpDcVd4RT0=" content="SPwegfCj2yXD7ETnAFK3"/><style id="uagb-style-conditional-extension">@media (min-width: 1025px){body .uag-hide-desktop.uagb-google-map__wrap,body .uag-hide-desktop{display:none !important}}@media (min-width: 768px) and (max-width: 1024px){body .uag-hide-tab.uagb-google-map__wrap,body .uag-hide-tab{display:none !important}}@media (max-width: 767px){body .uag-hide-mob.uagb-google-map__wrap,body .uag-hide-mob{display:none !important}}</style><style id="uagb-style-frontend-269">.uag-blocks-common-selector{z-index:var(--z-index-desktop) !important}@media (max-width: 976px){.uag-blocks-common-selector{z-index:var(--z-index-tablet) !important}}@media (max-width: 767px){.uag-blocks-common-selector{z-index:var(--z-index-mobile) !important}} 114</style><link rel="icon" href="https://coderslegacy.com/wp-content/uploads/2020/04/cropped-CodersLegacy-Logo-1-32x32.jpg" sizes="32x32" /> 115<link rel="icon" href="https://coderslegacy.com/wp-content/uploads/2020/04/cropped-CodersLegacy-Logo-1-192x192.jpg" sizes="192x192" /> 116<link rel="apple-touch-icon" href="https://coderslegacy.com/wp-content/uploads/2020/04/cropped-CodersLegacy-Logo-1-180x180.jpg" /> 117<meta name="msapplication-TileImage" content="https://coderslegacy.com/wp-content/uploads/2020/04/cropped-CodersLegacy-Logo-1-270x270.jpg" /> 118</head> 119 120<body class="wp-singular page-template-default page page-id-269 page-parent wp-custom-logo wp-embed-responsive wp-theme-generatepress sfsi_actvite_theme_default right-sidebar nav-below-header separate-containers fluid-header active-footer-widgets-3 nav-aligned-left header-aligned-left dropdown-hover" itemtype="https://schema.org/WebPage" itemscope> 121 <a class="screen-reader-text skip-link" href="#content" title="Skip to content">Skip to content</a> <header class="site-header" id="masthead" aria-label="Site" itemtype="https://schema.org/WPHeader" itemscope> 122 <div class="inside-header grid-container grid-parent"> 123 <div class="site-logo"> 124 <a href="https://coderslegacy.com/" rel="home"> 125 <img class="header-image is-logo-image" alt="CodersLegacy" src="https://coderslegacy.com/wp-content/uploads/2023/02/CodersLegacyLogo.jpg" /> 126 </a> 127 </div> </div> 128 </header> 129 <nav class="main-navigation sub-menu-right" id="site-navigation" aria-label="Primary" itemtype="https://schema.org/SiteNavigationElement" itemscope> 130 <div class="inside-navigation grid-container grid-parent"> 131 <button class="menu-toggle" aria-controls="primary-menu" aria-expanded="false"> 132 <span class="mobile-menu">Menu</span> </button> 133 <div id="primary-menu" class="main-nav"><ul id="menu-aa" class=" menu sf-menu"><li id="menu-item-281" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-281"><a href="https://coderslegacy.com/">HOME</a></li> 134<li id="menu-item-321" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-321"><a href="https://coderslegacy.com/intro/">INTRODUCTION</a></li> 135<li id="menu-item-280" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-269 current_page_item menu-item-has-children menu-item-280"><a href="https://coderslegacy.com/python/" aria-current="page">PYTHON<span role="presentation" class="dropdown-menu-toggle"></span></a> 136<ul class="sub-menu"> 137 <li id="menu-item-335" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-335"><a href="https://coderslegacy.com/python/getting-started-python/">Getting started â Python</a></li> 138 <li id="menu-item-289" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-289"><a href="https://coderslegacy.com/python/learning-the-basics/">Python Basics</a></li> 139 <li id="menu-item-319" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-319"><a href="https://coderslegacy.com/python/python-intermediate/">Python Intermediate</a></li> 140 <li id="menu-item-318" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-318"><a href="https://coderslegacy.com/python/python-advanced/">Python Advanced</a></li> 141 <li id="menu-item-297" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-297"><a href="https://coderslegacy.com/python/libraries-in-python/">Python Libraries</a></li> 142 <li id="menu-item-317" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-317"><a href="https://coderslegacy.com/python/problem-solving/">Python Problem Solving</a></li> 143 <li id="menu-item-2242" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-2242"><a href="https://coderslegacy.com/python/python-built-in-functions/">Python Built in Functions</a></li> 144</ul> 145</li> 146<li id="menu-item-277" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-277"><a href="https://coderslegacy.com/java/">JAVA<span role="presentation" class="dropdown-menu-toggle"></span></a> 147<ul class="sub-menu"> 148 <li id="menu-item-333" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-333"><a href="https://coderslegacy.com/java/getting-started-java/">Getting Started â Java</a></li> 149 <li id="menu-item-287" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-287"><a href="https://coderslegacy.com/java/java-basics/">Java Basics</a></li> 150 <li id="menu-item-1690" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1690"><a href="https://coderslegacy.com/java/java-advanced/">Java Advanced</a></li> 151</ul> 152</li> 153<li id="menu-item-278" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-278"><a href="https://coderslegacy.com/vb-net/">VB.NET<span role="presentation" class="dropdown-menu-toggle"></span></a> 154<ul class="sub-menu"> 155 <li id="menu-item-332" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-332"><a href="https://coderslegacy.com/vb-net/getting-started-vb-net/">Getting Started â VB.NET</a></li> 156 <li id="menu-item-305" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-305"><a href="https://coderslegacy.com/vb-net/vb-net-basics/">VB.net Basics</a></li> 157 <li id="menu-item-1691" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1691"><a href="https://coderslegacy.com/vb-net/vb-net-advanced/">VB.NET Advanced</a></li> 158</ul> 159</li> 160<li id="menu-item-279" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-has-children menu-item-279"><a href="https://coderslegacy.com/c/">C++<span role="presentation" class="dropdown-menu-toggle"></span></a> 161<ul class="sub-menu"> 162 <li id="menu-item-334" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-334"><a href="https://coderslegacy.com/c/getting-started-c/">Getting Started â C++</a></li> 163 <li id="menu-item-282" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-282"><a href="https://coderslegacy.com/c/c-basics/">C++ Basics</a></li> 164 <li id="menu-item-7894" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-7894"><a href="https://coderslegacy.com/c/cpp-advanced/">C++ Advanced</a></li> 165</ul> 166</li> 167</ul></div> </div> 168 </nav> 169 170 <div class="site grid-container container hfeed grid-parent" id="page"> 171 <div class="site-content" id="content"> 172 173 <div class="content-area grid-parent mobile-grid-100 grid-75 tablet-gr
173id-75" id="primary"> 174 <main class="site-main" id="main"> 175 176<article id="post-269" class="post-269 page type-page status-publish" itemtype="https://schema.org/CreativeWork" itemscope> 177 <div class="inside-article"> 178 179 <header class="entry-header" aria-label="Content"> 180 <h1 class="entry-title" itemprop="headline">Learn PYTHON</h1> </header> 181 182 183 <div class="entry-content" itemprop="text"> 184 185<p class="has-text-color" style="color:#282a2c;font-size:15px"><em>This is a compilation of tutorial series on the programming language Python</em></p> 186 187 188 189<h3 class="wp-block-heading">What is Python?</h3> 190 191 192 193<p>Python is a High Level, Object Oriented language released in the 1990’s. It gained massive popularity in the 2000’s for it’s easy and simple to use syntax. For the same reason, it’s become an entry point for many programmers into the programming world. It’s is used most commonly for making Desktop applications, websites and web applications. <br><br>Python has consistently been ranked in the Top 5 languages of the world for the last few years. Furthermore, it is also one of the most in demand languages right now.</p> 194 195 196 197<hr class="wp-block-separator"/> 198 199 200 201<h3 class="wp-block-heading">Python Overview</h3> 202 203 204 205<p>This is the main page for the subject Python on this website. This page will briefly go through all the sections contained within this subject.</p> 206 207 208 209<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 210 211 212 213<h4 class="wp-block-heading"><a href="https://coderslegacy.com/python/getting-started-python/">Python – Getting Started:</a></h4> 214 215 216 217<p>This is a page contains a guide for installing and setting up Python on your Computer with the optimal settings. Also explains the process of downloading and installing libraries through the command prompt. This also includes a section for installing and setting up a suitable IDE.</p> 218 219 220 221<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 222 223 224 225<hr> 226 227 228 229<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 230 231 232 233<h4 class="wp-block-heading"><a href="https://coderslegacy.com/python/learning-the-basics/">Python Basics</a></h4> 234 235 236 237<p>This section covers all of the basics and more. Expect to see dozens of topics covered here once it is completed! It’s currently a work in progress, with more and more topics being added weekly. </p> 238 239 240 241<p>Along with the basic core concepts of a topic, there is extra content there for more adventurous coders. Some topics covered here are, Loops, Functions, Data types, Operators, Procedures and some basic libraries. </p> 242 243 244 245<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 246 247 248 249<hr> 250 251 252 253<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 254 255 256 257<h4 class="wp-block-heading"><a href="https://coderslegacy.com/python/python-intermediate/">Python Intermediate</a></h4> 258 259 260 261<p>This section covers intermediate concepts. Unlike the basics section, which covers only the base concepts which might be enough for a casual programmer. This section covers stronger concepts and greatly expands one’s arsenal. </p> 262 263 264 265<p>Expect this section to have a strong Emphasis on Libraries like <a href="https://coderslegacy.com/python/libraries-in-python/python-regex/">Regex</a>, <a href="https://coderslegacy.com/python/python-mysql/">MySQL</a> and <a href="https://coderslegacy.com/python/libraries-in-python/python-openpyxl/">Openpyxl</a>. Some of the regular python topics covered here are, Classes and File Handling.</p> 266 267 268 269<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 270 271 272 273<hr> 274 275 276 277<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 278 279 280 281<h4 class="wp-block-heading"><a href="https://coderslegacy.com/python/python-advanced/">Python Advanced</a></h4> 282 283 284 285<p>This section covers the most challenging concepts present within this language. Not really meant for the average causal programmer. Expect this section to have fewer topics, but those that are present, will be larger and more complex that those from before. </p> 286 287 288 289<p>Expect the libraries here to be entire sections on their own with dozens of pages. The most notable (and largest) libraries here are <a href="https://coderslegacy.com/python/python-pygame-tutorial/">Pygame</a> and <a href="https://coderslegacy.com/python/pyqt5-tutorial/">PyQt5</a>.</p> 290 291 292 293<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 294 295 296 297<hr> 298 299 300 301<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 302 303 304 305<h4 class="wp-block-heading"><a href="https://coderslegacy.com/python/libraries-in-python/">Python Libraries</a></h4> 306 307 308 309<p>This section is a compilation of all the Python Libraries from the Basic, Intermediate and Advanced sections of CodersLegacy, plus a few extra. All Libraries have a little description included with them as well as what they are used for.</p> 310 311 312 313<p> Definitely recommend checking this. You would be surprised to see the different kinds of libraries out there. And these aren’t even all of them. There are hundreds, if not thousands of useful libraries out there. </p> 314 315 316 317<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 318 319 320 321<hr> 322 323 324 325<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 326 327 328 329<h4 class="wp-block-heading"><a href="https://coderslegacy.com/python/python-built-in-functions/">Python Built-in Functions</a></h4> 330 331 332 333<p>
333 Built in Functions are those that come with a programming language itself. Built in Functions solidly form the backbone of any programming language. It would be very un-wise for you to not know at least a few dozen built in functions.</p> 334 335 336 337<p> You’ll find that there are many things only possible through the use of these Built in Functions. You could of course create your own, but why waste the time and effort?</p> 338 339 340 341<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 342 343 344 345<hr> 346 347 348 349<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 350 351 352 353<h4 class="wp-block-heading"><a href="https://coderslegacy.com/problem-solving/">Problem Solving</a></h4> 354 355 356 357<p>A place filled with various scenarios and problems that need to be solved using programming. Answers will be provided, with a detailed breakdown of each step, explaining each part individually. Highly recommended for all programmers of all skill levels. Not only will you see different applications of the stuff you’ve been learning, but you will learn how to overcome the many problems that one might face. </p> 358 359 360 361<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 362 363 364 365<hr> 366 367 368 369<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div> 370 371 372 373<p>This marks the end of the Python Programming language Tutorial. Any suggestions or contributions for CodersLegacy are more than welcome. Questions regarding the article can be asked in the comments section below.</p> 374 </div> 375 376 </div> 377</article> 378 379 <div class="comments-area"> 380 <div id="comments"> 381 382 <h3 class="comments-title">5 thoughts on “Learn PYTHON”</h3> 383 <ol class="comment-list"> 384 385 <li id="comment-2339" class="comment even thread-even depth-1 parent"> 386 <article class="comment-body" id="div-comment-2339" itemtype="https://schema.org/Comment" itemscope> 387 <footer class="comment-meta" aria-label="Comment meta"> 388 <img alt='' src='https://secure.gravatar.com/avatar/1a180ce65127a8e16f0f32f460a5751cbfa57276db5a567340d3a3a339287178?s=50&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/1a180ce65127a8e16f0f32f460a5751cbfa57276db5a567340d3a3a339287178?s=100&d=mm&r=g 2x' class='avatar avatar-50 photo' height='50' width='50' decoding='async'/> <div class="comment-author-info"> 389 <div class="comment-author vcard" itemprop="author" itemtype="https://schema.org/Person" itemscope> 390 <cite itemprop="name" class="fn">Niven</cite> </div> 391 392 <div class="entry-meta comment-metadata"> 393 <a href="https://coderslegacy.com/python/#comment-2339"> <time datetime="2024-02-18T15:38:48+00:00" itemprop="datePublished"> 394 February 18, 2024 at 3:38 pm </time> 395 </a> </div> 396 </div> 397 398 </footer> 399 400 <div class="comment-content" itemprop="text"> 401 <p>Fantastic site with acurate and great learning tutorials.</p> 402<span class="reply"><a rel="nofollow" class="comment-reply-link" href="#comment-2339" data-commentid="2339" data-postid="269" data-belowelement="div-comment-2339" data-respondelement="respond" data-replyto="Reply to Niven" aria-label="Reply to Niven">Reply</a></span> </div> 403 </article> 404 <ul class="children"> 405 406 <li id="comment-5154" class="comment odd alt depth-2"> 407 <article class="comment-body" id="div-comment-5154" itemtype="https://schema.org/Comment" itemscope> 408 <footer class="comment-meta" aria-label="Comment meta"> 409 <img alt='' src='https://secure.gravatar.com/avatar/300db02db75af922c759f08a0efa5a400128eac1f531b802697450b5c6da6e9f?s=50&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/300db02db75af922c759f08a0efa5a400128eac1f531b802697450b5c6da6e9f?s=100&d=mm&r=g 2x' class='avatar avatar-50 photo' height='50' width='50' decoding='async'/> <div class="comment-author-info"> 410 <div class="comment-author vcard" itemprop="author" itemtype="https://schema.org/Person" itemscope> 411 <cite itemprop="name" class="fn">bob</cite> </div> 412 413 <div class="entry-meta comment-metadata"> 414 <a href="https://coderslegacy.com/python/#comment-5154"> <time datetime="2024-11-12T22:59:06+00:00" itemprop="datePublished"> 415 November 12, 2024 at 10:59 pm </time> 416 </a> </div> 417 </div> 418 419 </footer> 420 421 <div class="comment-content" itemprop="text"> 422 <p>acurate</p> 423<span class="reply"><a rel="nofollow" class="comment-reply-link" href="#comment-5154" data-commentid="5154" data-postid="269" data-belowelement="div-comment-5154" data-respondelement="respond" data-replyto="Reply to bob" aria-label="Reply to bob">Reply</a></span> </div> 424 </article> 425 </li><!-- #comment-## --> 426</ul><!-- .children --> 427</li><!-- #comment-## --> 428
429 <li id="comment-19217" class="comment even thread-odd thread-alt depth-1"> 430 <article class="comment-body" id="div-comment-19217" itemtype="https://schema.org/Comment" itemscope> 431 <footer class="comment-meta" aria-label="Comment meta"> 432 <img alt='' src='https://secure.gravatar.com/avatar/f6aed3863e094cfa82dd682d94a39e9853194644b89d11326cfaeb3bf0461bc6?s=50&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/f6aed3863e094cfa82dd682d94a39e9853194644b89d11326cfaeb3bf0461bc6?s=100&d=mm&r=g 2x' class='avatar avatar-50 photo' height='50' width='50' decoding='async'/> <div class="comment-author-info"> 433 <div class="comment-author vcard" itemprop="author" itemtype="https://schema.org/Person" itemscope> 434 <cite itemprop="name" class="fn"><a href="https://en.wikipedia.org/wiki/User:Codemini" class="url" rel="ugc external nofollow">Codemini</a></cite> </div> 435 436 <div class="entry-meta comment-metadata"> 437 <a href="https://coderslegacy.com/python/#comment-19217"> <time datetime="2025-08-25T14:44:23+00:00" itemprop="datePublished"> 438 August 25, 2025 at 2:44 pm </time> 439 </a> </div> 440 </div> 441 442 </footer> 443 444 <div class="comment-content" itemprop="text"> 445 <p>Great website, very educative website, continue your good works!!.</p> 446<span class="reply"><a rel="nofollow" class="comment-reply-link" href="#comment-19217" data-commentid="19217" data-postid="269" data-belowelement="div-comment-19217" data-respondelement="respond" data-replyto="Reply to Codemini" aria-label="Reply to Codemini">Reply</a></span> </div> 447 </article> 448 </li><!-- #comment-## --> 449 450 <li id="comment-19218" class="comment odd alt thread-even depth-1"> 451 <article class="comment-body" id="div-comment-19218" itemtype="https://schema.org/Comment" itemscope> 452 <footer class="comment-meta" aria-label="Comment meta"> 453 <img alt='' src='https://secure.gravatar.com/avatar/f6aed3863e094cfa82dd682d94a39e9853194644b89d11326cfaeb3bf0461bc6?s=50&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/f6aed3863e094cfa82dd682d94a39e9853194644b89d11326cfaeb3bf0461bc6?s=100&d=mm&r=g 2x' class='avatar avatar-50 photo' height='50' width='50' loading='lazy' decoding='async'/> <div class="comment-author-info"> 454 <div class="comment-author vcard" itemprop="author" itemtype="https://schema.org/Person" itemscope> 455 <cite itemprop="name" class="fn"><a href="https://en.wikipedia.org/wiki/User:Codemini" class="url" rel="ugc external nofollow">Codemini</a></cite> </div> 456 457 <div class="entry-meta comment-metadata"> 458 <a href="https://coderslegacy.com/python/#comment-19218"> <time datetime="2025-08-25T14:49:51+00:00" itemprop="datePublished"> 459 August 25, 2025 at 2:49 pm </time> 460 </a> </div> 461 </div> 462 463 </footer> 464 465 <div class="comment-content" itemprop="text"> 466 <p>Please is there any function for url’s, like url’s accessing my python codes. Example: <a href="http://myweb.com?param=value" rel="nofollow ugc">http://myweb.com?param=value</a></p> 467<p>As I know PHP own is $_GET[‘parameter’]. Thanks!!.</p> 468<span class="reply"><a rel="nofollow" class="comment-reply-link" href="#comment-19218" data-commentid="19218" data-postid="269" data-belowelement="div-comment-19218" data-respondelement="respond" data-replyto="Reply to Codemini" aria-label="Reply to Codemini">Reply</a></span> </div> 469 </article> 470 </li><!-- #comment-## --> 471 472 <li id="comment-31055" class="comment even thread-odd thread-alt depth-1"> 473 <article class="comment-body" id="div-comment-31055" itemtype="https://schema.org/Comment" itemscope> 474 <footer class="comment-meta" aria-label="Comment meta"> 475 <img alt='' src='https://secure.gravatar.com/avatar/981796b1399c083b37b99e03725f02c0519bba34c2620b6e2a1cbe3548dea287?s=50&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/981796b1399c083b37b99e03725f02c0519bba34c2620b6e2a1cbe3548dea287?s=100&d=mm&r=g 2x' class='avatar avatar-50 photo' height='50' width='50' loading='lazy' decoding='async'/> <div class="comment-author-info"> 476 <div class="comment-author vcard" itemprop="author" itemtype="https://schema.org/Person" itemscope> 477 <cite itemprop="name" class="fn">Kritesh jain</cite> </div> 478 479 <div class="entry-meta comment-metadata"> 480 <a href="https://coderslegacy.com/python/#comment-31055"> <time datetime="2026-08-21T10:17:39+00:00" itemprop="datePublished"> 481 August 21, 2026 at 10:17 am </time> 482 </a> </div> 483 </div> 484 485 </footer> 486 487 <div class="comment-content" itemprop="text"> 488 <p>mujhe ek item Sa game banana hai iske liye mujhe Koi code chahie jisse aasani se game banta hai</p> 489<span class="reply"><a rel="nofollow" class="comment-reply-link" href="#comment-31055" data-commentid="31055" data-postid="269" data-belowelement="div-comment-31055" data-respondelement="respond" data-replyto="Reply to Kritesh jain" aria-label="Reply to Kritesh jain">Reply</a></span> </div> 490 </article> 491 </li><!-- #comment-## --> 492 </ol><!-- .comment-list --> 493 494 <div id="respond" class="comment-respond"> 495 <h3 id="reply-title" class="comment-reply-title">Leave a Comment <small><a rel="nofollow" id="cancel-comment-reply-link" href="/python/#respond" style="display:none;">Cancel reply</a></small></h3><form action="https://coderslegacy.com/wp-comments-post.php" method="post" id="commentform" class="comment-form"><p class="comment-form-comment"><label for="comment" class="screen-reader-text">Comment</label><textarea autocomplete="new-password" id="b53ff45624" name="b53ff45624" cols="45" rows="8" required></textarea><textarea id="comment" aria-label="hp-comment" aria-hidden="true" name="comment" autocomplete="new-password" style="padding:0 !important;clip:rect(1px, 1px, 1px, 1px) !important;position:absolute !important;white-space:nowrap !important;height:1px !important;width:1px !important;overflow:hidden !important;" tabindex="-1"></textarea>
495<script data-noptimize>document.getElementById("comment").setAttribute( "id", "af0e19f357d842b354ee6c062ed4d964" );document.getElementById("b53ff45624").setAttribute( "id", "comment" );</script>
495</p><label for="author" class="screen-reader-text">Name</label><input placeholder="Name *" id="author" name="author" type="text" value="" size="30" required /> 496<label for="email" class="screen-reader-text">Email</label><input placeholder="Email *" id="email" name="email" type="email" value="" size="30" required /> 497<label for="url" class="screen-reader-text">Website</label><input placeholder="Website" id="url" name="url" type="url" value="" size="30" /> 498<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes" /> <label for="wp-comment-cookies-consent">Save my name, email, and website in this browser for the next time I comment.</label></p> 499<p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='269' id='comment_post_ID' /> 500<input type='hidden' name='comment_parent' id='comment_parent' value='0' /> 501</p></form> </div><!-- #respond --> 502 503</div><!-- #comments --> 504 </div> 505 506 507 </main> 508 </div> 509 510 <div class="widget-area sidebar is-right-sidebar grid-25 tablet-grid-25 grid-parent" id="right-sidebar"> 511 <div class="inside-right-sidebar"> 512 513 <!-- Ezoic - LeftSidebarTop - sidebar --> 514 <div id="ezoic-pub-ad-placeholder-600"> </div> 515 <!-- End Ezoic - LeftSidebarTop - sidebar --> 516 517 <aside id="block-2" class="widget inner-padding widget_block widget_search"><form role="search" method="get" action="https://coderslegacy.com/" class="wp-block-search__button-outside wp-block-search__text-button wp-block-search" ><label class="wp-block-search__label" for="wp-block-search__input-1" >Search</label><div class="wp-block-search__inside-wrapper" ><input class="wp-block-search__input" id="wp-block-search__input-1" placeholder="" value="" type="search" name="s" required /><button aria-label="Search" class="wp-block-search__button wp-element-button" type="submit" >Search</button></div></form></aside> 518 <aside id="recent-posts-4" class="widget inner-padding widget_recent_entries"> 519 <h2 class="widget-title">Recent Posts</h2> 520 <ul> 521 <li> 522 <a href="https://coderslegacy.com/how-to-upload-a-yolo-dataset-to-cvat/">How to upload a YOLO dataset to CVAT</a> 523 </li> 524 <li> 525 <a href="https://coderslegacy.com/vllm-connection-refused-error-on-windows-wsl2/">VLLM Connection Refused Error on Windows (WSL2)</a> 526 </li> 527 <li> 528 <a href="https://coderslegacy.com/create-a-toolbar-in-tkinter/">How to create a Quick-Access Toolbar in Tkinter</a> 529 </li> 530 <li> 531 <a href="https://coderslegacy.com/creating-a-video-player-in-tkinter-using-python-vlc/">Creating a Video Player in Tkinter Using python-vlc</a> 532 </li> 533 <li> 534 <a href="https://coderslegacy.com/building-a-pyqt6-video-player-with-vlc/">Building a PyQt6 Video Player with VLC</a> 535 </li> 536 <li> 537 <a href="https://coderslegacy.com/converting-latex-to-pdf-in-python/">
537Converting LaTeX to PDF in Python: A Step-by-Step Tutorial</a> 538 </li> 539 </ul> 540 541 </aside><aside id="nav_menu-11" class="widget inner-padding widget_nav_menu"><h2 class="widget-title">Programming Languages</h2><div class="menu-programming-languages-container"><ul id="menu-programming-languages" class="menu"><li id="menu-item-3833" class="menu-item menu-item-type-post_type menu-item-object-page current-menu-item page_item page-item-269 current_page_item menu-item-3833"><a href="https://coderslegacy.com/python/" aria-current="page">Learn PYTHON</a></li> 542<li id="menu-item-3832" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3832"><a href="https://coderslegacy.com/java/">Learn JAVA</a></li> 543<li id="menu-item-3834" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3834"><a href="https://coderslegacy.com/vb-net/">VB.NET</a></li> 544<li id="menu-item-3831" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-3831"><a href="https://coderslegacy.com/c/">Learn C++</a></li> 545</ul></div></aside> 546 </div> 547</div> 548 549<div class='widget-area sidebar is-right-sidebar grid-25 tablet-grid-25 grid-parent promo' style="top:0; position:sticky"> 550 <!-- Ezoic - sidebar-middle-position - sidebar_middle --> 551 <div id="ezoic-pub-ad-placeholder-621"> </div> 552 <!-- End Ezoic - sidebar-middle-position - sidebar_middle --> 553 554 <!-- Ezoic - sidebar_middle_position_2 - sidebar_middle --> 555 <div id="ezoic-pub-ad-placeholder-622"> </div> 556 <!-- End Ezoic - sidebar_middle_position_2 - sidebar_middle --> 557 558 <!-- Ezoic - sidebar_bottom_2 - sidebar_bottom --> 559 <div id="ezoic-pub-ad-placeholder-631"> </div> 560 <!-- End Ezoic - sidebar_bottom_2 - sidebar_bottom --> 561</div> 562 563 </div> 564</div> 565 566 567<div class="site-footer"> 568 <footer class="site-info" aria-label="Site" itemtype="https://schema.org/WPFooter" itemscope> 569 <div class="inside-site-info grid-container grid-parent"> 570 <div class="copyright-bar"> 571 <span class="copyright">© 2026 CodersLegacy</span> • Built with <a href="https://generatepress.com" itemprop="url">GeneratePress</a> </div> 572 </div> 573 </footer> 574 </div> 575
576<script type="speculationrules"> 577{"prefetch":[{"source":"document","where":{"and":[{"href_matches":"/*"},{"not":{"href_matches":["/wp-*.php","/wp-admin/*","/wp-content/uploads/*","/wp-content/*","/wp-content/plugins/*","/wp-content/themes/generatepress/*","/*\\?(.+)"]}},{"not":{"selector_matches":"a[rel~=\"nofollow\"]"}},{"not":{"selector_matches":".no-prefetch, .no-prefetch a"}}]},"eagerness":"conservative"}]} 578</script>
578 579 <!--facebook like and share js --> 580 <div id="fb-root"></div> 581
581<script> 582 (function(d, s, id) { 583 var js, fjs = d.getElementsByTagName(s)[0]; 584 if (d.getElementById(id)) return; 585 js = d.createElement(s); 586 js.id = id; 587 js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.2"; 588 fjs.parentNode.insertBefore(js, fjs); 589 }(document, 'script', 'facebook-jssdk')); 590 </script>
590 591
591<script> 592window.addEventListener('sfsi_functions_loaded', function() { 593 if (typeof sfsi_responsive_toggle == 'function') { 594 sfsi_responsive_toggle(0); 595 // console.log('sfsi_responsive_toggle'); 596 597 } 598}) 599</script>
599 600
600<script> 601 window.addEventListener('sfsi_functions_loaded', function () { 602 if (typeof sfsi_plugin_version == 'function') { 603 sfsi_plugin_version(2.77); 604 } 605 }); 606 607 function sfsi_processfurther(ref) { 608 var feed_id = 'SThISk1FQVRUb2lXc0xmcnRESkdLK1oyMUdPM1lodFozN3dUeVkva1BmaWlHdjIvbDlnMWIzZDNLM3BudE9WcGx6S21QRGc1bkRyZHcyS2hwS3dDOUZ0R3dNNCtXZFVuSWFQYytYZXowMmFhZzlpTDRVNTFJV1lqeWNWZ0d0VWh8S2dVeVVXU1NrNUlXU3UvRUUvZ3lPRW5weXNuWWRRYnZHUk8zcWpDcVd4RT0='; 609 var feedtype = 8; 610 var email = jQuery(ref).find('input[name="email"]').val(); 611 var filter = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 612 if ((email != "Enter your email") && (filter.test(email))) { 613 if (feedtype == "8") { 614 var url = "https://api.follow.it/subscription-form/" + feed_id + "/" + feedtype; 615 window.open(url, "popupwindow", "scrollbars=yes,width=1080,height=760"); 616 return true; 617 } 618 } else { 619 alert("Please enter email address"); 620 jQuery(ref).find('input[name="email"]').focus(); 621 return false; 622 } 623 } 624 </script>
624 625 <style type="text/css" aria-selected="true"> 626 .sfsi_subscribe_Popinner { 627 width: 100% !important; 628 629 height: auto !important; 630 631 padding: 18px 0px !important; 632 633 background-color: #ffffff !important; 634 } 635 636 .sfsi_subscribe_Popinner form { 637 margin: 0 20px !important; 638 } 639 640 .sfsi_subscribe_Popinner h5 { 641 font-family: Helvetica,Arial,sans-serif !important; 642 643 font-weight: bold !important; color:#000000 !important; font-size: 16px !important; text-align:center !important; margin: 0 0 10px !important; 644 padding: 0 !important; 645 } 646 647 .sfsi_subscription_form_field { 648 margin: 5px 0 !important; 649 width: 100% !important; 650 display: inline-flex; 651 display: -webkit-inline-flex; 652 } 653 654 .sfsi_subscription_form_field input { 655 width: 100% !important; 656 padding: 10px 0px !important; 657 } 658 659 .sfsi_subscribe_Popinner input[type=email] { 660 font-family: Helvetica,Arial,sans-serif !important; font-style:normal !important; font-size:14px !important; text-align: center !important; } 661 662 .sfsi_subscribe_Popinner input[type=email]::-webkit-input-placeholder { 663 664 font-family: Helvetica,Arial,sans-serif !important; font-style:normal !important; font-size: 14px !important; text-align:center !important; } 665 666 .sfsi_subscribe_Popinner input[type=email]:-moz-placeholder { 667 /* Firefox 18- */ 668 font-family: Helvetica,Arial,sans-serif !important; font-style:normal !important; font-size: 14px !important; text-align:center !important; 669 } 670 671 .sfsi_subscribe_Popinner input[type=email]::-moz-placeholder { 672 /* Firefox 19+ */ 673 font-family: Helvetica,Arial,sans-serif !important; font-style: normal !important; 674 font-size: 14px !important; text-align:center !important; } 675 676 .sfsi_subscribe_Popinner input[type=email]:-ms-input-placeholder { 677 678 font-family: Helvetica,Arial,sans-serif !important; font-style:normal !important; font-size:14px !important; 679 text-align: center !important; } 680 681 .sfsi_subscribe_Popinner input[type=submit] { 682 683 font-family: Helvetica,Arial,sans-serif !important; font-weight: bold !important; color:#000000 !important; font-size: 16px !important; text-align:center !important; background-color: #dedede !important; } 684 685 .sfsi_shortcode_container { 686 float: left; 687 } 688 689 .sfsi_shortcode_container .norm_row .sfsi_wDiv { 690 position: relative !important; 691 } 692 693 .sfsi_shortcode_container .sfsi_holders { 694 display: none; 695 } 696 697 </style> 698 699
699<script id="generate-a11y">!function(){"use strict";if("querySelector"in document&&"addEventListener"in window){var e=document.body;e.addEventListener("mousedown",function(){e.classList.add("using-mouse")}),e.addEventListener("keydown",function(){e.classList.remove("using-mouse")})}}();</script>
699<script src="https://coderslegacy.com/wp-includes/js/jquery/ui/core.min.js?ver=1.13.3" id="jquery-ui-core-js"></script>
vendor: 1 bytes, line 699
699
700<script src="https://coderslegacy.com/wp-content/plugins/ultimate-social-media-icons/js/shuffle/modernizr.custom.min.js?ver=61ab892d9a6a933012b2af761cb47ad0" id="SFSIjqueryModernizr-js"></script>
vendor: 1 bytes, line 700
700
701<script src="https://coderslegacy.com/wp-content/plugins/ultimate-social-media-icons/js/shuffle/jquery.shuffle.min.js?ver=61ab892d9a6a933012b2af761cb47ad0" id="SFSIjqueryShuffle-js"></script>
vendor: 1 bytes, line 701
701
702<script src="https://coderslegacy.com/wp-content/plugins/ultimate-social-media-icons/js/shuffle/random-shuffle-min.js?ver=61ab892d9a6a933012b2af761cb47ad0" id="SFSIjqueryrandom-shuffle-js"></script>
vendor: 1 bytes, line 702
702
703<script id="SFSICustomJs-js-extra"> 704var sfsi_icon_ajax_object = {"nonce":"e5096097ca","ajax_url":"https://coderslegacy.com/wp-admin/admin-ajax.php","plugin_url":"https://coderslegacy.com/wp-content/plugins/ultimate-social-media-icons/"}; 705//# sourceURL=SFSICustomJs-js-extra 706</script>
vendor: 1 bytes, line 706
706
707<script src="https://coderslegacy.com/wp-content/plugins/ultimate-social-media-icons/js/custom.js?ver=2.9.6" id="SFSICustomJs-js"></script>
vendor: 1 bytes, line 707
707
708<script id="dlm-xhr-js-extra"> 709var dlmXHRtranslations = {"error":"An error occurred while trying to download the file. Please try again.","not_found":"Download does not exist.","no_file_path":"No file path defined.","no_file_paths":"No file paths defined.","filetype":"Download is not allowed for this file type.","file_access_denied":"Access denied to this file.","access_denied":"Access denied. You do not have permission to download this file.","security_error":"Something is wrong with the file path.","file_not_found":"File not found."}; 710//# sourceURL=dlm-xhr-js-extra 711</script>
vendor: 1 bytes, line 711
711
712<script id="dlm-xhr-js-before"> 713const dlmXHR = {"xhr_links":{"class":["download-link","download-button"]},"prevent_duplicates":true,"ajaxUrl":"https:\/\/coderslegacy.com\/wp-admin\/admin-ajax.php"}; dlmXHRinstance = {}; const dlmXHRGlobalLinks = "https://coderslegacy.com/download/"; const dlmNonXHRGlobalLinks = []; dlmXHRgif = "https://coderslegacy.com/wp-includes/images/spinner.gif"; const dlmXHRProgress = "1" 714//# sourceURL=dlm-xhr-js-before 715</script>
vendor: 1 bytes, line 715
715
716<script src="https://coderslegacy.com/wp-content/plugins/download-monitor/assets/js/dlm-xhr.min.js?ver=5.1.6" id="dlm-xhr-js"></script>
vendor: 1 bytes, line 716
716
717<script id="dlm-xhr-js-after"> 718document.addEventListener("dlm-xhr-modal-data", function(event) { if ("undefined" !== typeof event.detail.headers["x-dlm-tc-required"]) { event.detail.data["action"] = "dlm_terms_conditions_modal"; event.detail.data["dlm_modal_response"] = "true"; }}); 719document.addEventListener("dlm-xhr-modal-data", function(event) {if ("undefined" !== typeof event.detail.headers["x-dlm-members-locked"]) {event.detail.data["action"] = "dlm_members_conditions_modal";event.detail.data["dlm_modal_response"] = "true";event.detail.data["dlm_members_form_redirect"] = "https://coderslegacy.com/python/";}}); 720//# sourceURL=dlm-xhr-js-after 721</script>
vendor: 1 bytes, line 721
721
722<script id="generate-menu-js-extra"> 723var generatepressMenu = {"toggleOpenedSubMenus":"1","openSubMenuLabel":"Open Sub-Menu","closeSubMenuLabel":"Close Sub-Menu"}; 724//# sourceURL=generate-menu-js-extra 725</script>
vendor: 1 bytes, line 725
725
726<script src="https://coderslegacy.com/wp-content/themes/generatepress/assets/js/menu.min.js?ver=3.3.1" id="generate-menu-js"></script>
vendor: 1 bytes, line 726
726
727<script src="https://coderslegacy.com/wp-includes/js/comment-reply.min.js?ver=61ab892d9a6a933012b2af761cb47ad0" id="comment-reply-js" async data-wp-strategy="async" fetchpriority="low"></script>
vendor: 1 bytes, line 727
727
728<script id="wp-emoji-settings" type="application/json"> 729{"baseUrl":"https://s.w.org/images/core/emoji/17.0.2/72x72/","ext":".png","svgUrl":"https://s.w.org/images/core/emoji/17.0.2/svg/","svgExt":".svg","source":{"concatemoji":"https://coderslegacy.com/wp-includes/js/wp-emoji-release.min.js?ver=61ab892d9a6a933012b2af761cb47ad0"}} 730</script>
vendor: 1 bytes, line 730
730
731<script type="module"> 732/*! This file is auto-generated */ 733var e="script#wp-emoji-settings",t=document.querySelector(e);if(!(t instanceof HTMLScriptElement))throw new Error("Element missing: "+e);const r=JSON.parse(t.text),s=(window._wpemojiSettings=r,"wpEmojiSettingsSupports"),o=["flag","emoji"];function i(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(s,JSON.stringify(t))}catch(e){}}function c(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0);const r=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data);return t.every((e,t)=>e===r[t])}function p(e,t){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var n=e.getImageData(16,16,1,1);for(let e=0;e<n.data.length;e++)if(0!==n.data[e])return!1;return!0}function u(e,t,n,r){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\udde8\ud83c\uddf6","\ud83c\udde8\u200b\ud83c\uddf6")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!r(e,"\ud83e\u1fac8")}return!1}function f(e,t,n,r){let a;const s=(a="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):document.createElement("canvas")).getContext("2d",{willReadFrequently:!0}),o=(s.textBaseline="top",s.font="600 32px Arial",{});return e.forEach(e=>{o[e]=t(s,e,n,r)}),o}function a(e){var t=document.createElement("script");t.src=e,t.defer=!0,document.head.appendChild(t)}r.supports={everything:!0,everythingExceptFlag:!0},new Promise(t=>{let n=function(){try{var e=JSON.parse(sessionStorage.getItem(s));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(o),u.toString(),c.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"});const a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=e=>{i(n=e.data),a.terminate(),t(n)})}catch(e){}i(n=f(o,u,c,p))}t(n)}).then(e=>{for(const n in e)r.supports[n]=e[n],r.supports.everything=r.supports.everything&&r.supports[n],"flag"!==n&&(r.supports.everythingExceptFlag=r.supports.everythingExceptFlag&&r.supports[n]);var t;r.supports.everythingExceptFlag=r.supports.everythingExceptFlag&&!r.supports.flag,r.supports.everything||((t=r.source||{}).concatemoji?a(t.concatemoji):t.wpemoji&&t.twemoji&&(a(t.twemoji),a(t.wpemoji)))}); 734//# sourceURL=https://coderslegacy.com/wp-includes/js/wp-emoji-loader.min.js 735</script>
735 736<!-- start Simple Custom CSS and JS --> 737<!-- 930759531a31520860f4ff829f5ea97d --><!-- end Simple Custom CSS and JS --> 738
739<script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/v31edd6df95cf4e85bb4c19e7a9bdbcba1788362987495" integrity="sha512-iIg7k2xntmwu6/uSb5tpc/hySgZc4eoL31yB29W6tJFo2akwjPWcEqnCEdJvGexCL0KEQwVYv5BlowfhVz26hg==" data-cf-beacon='{"version":"2024.11.0","token":"49996869bb2a4675b94c9f4ab272c7f2","r":1,"spa":2}' crossorigin="anonymous"></script>
739 740</body> 741</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.