1+ <!DOCTYPE HTML> < html lang =en class ="sidebar-visible no-js rust "> < head > < meta charset =UTF-8 > < title > </ title > < base href =/practice_python_projects/ > < meta content ="text/html; charset=utf-8 "http-equiv =Content-Type > < meta name =description content ="Book on basic to intermediate level Python projects "> < meta name =viewport content ="width=device-width, initial-scale=1 "> < meta name =theme-color content =#ffffff > < link rel =icon href =favicon.svg > < link rel ="shortcut icon "href =favicon.png > < link rel =stylesheet href =css/variables.css > < link rel =stylesheet href =css/general.css > < link rel =stylesheet href =css/chrome.css > < link rel =stylesheet href =FontAwesome/css/font-awesome.css > < link rel =stylesheet href =fonts/fonts.css > < link rel =stylesheet href =highlight.css > < link rel =stylesheet href =tomorrow-night.css > < link rel =stylesheet href =ayu-highlight.css > < link rel =stylesheet href =style.css > < body > < script >
2+ var path_to_root = "" ;
3+ var default_theme = window . matchMedia ( "(prefers-color-scheme: dark)" ) . matches ? "navy" : "rust" ;
4+ </ script > < script >
5+ try {
6+ var theme = localStorage . getItem ( 'mdbook-theme' ) ;
7+ var sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ;
8+
9+ if ( theme . startsWith ( '"' ) && theme . endsWith ( '"' ) ) {
10+ localStorage . setItem ( 'mdbook-theme' , theme . slice ( 1 , theme . length - 1 ) ) ;
11+ }
12+
13+ if ( sidebar . startsWith ( '"' ) && sidebar . endsWith ( '"' ) ) {
14+ localStorage . setItem ( 'mdbook-sidebar' , sidebar . slice ( 1 , sidebar . length - 1 ) ) ;
15+ }
16+ } catch ( e ) { }
17+ </ script > < script >
18+ var theme ;
19+ try { theme = localStorage . getItem ( 'mdbook-theme' ) ; } catch ( e ) { }
20+ if ( theme === null || theme === undefined ) { theme = default_theme ; }
21+ var html = document . querySelector ( 'html' ) ;
22+ html . classList . remove ( 'no-js' )
23+ html . classList . remove ( 'rust' )
24+ html . classList . add ( theme ) ;
25+ html . classList . add ( 'js' ) ;
26+ </ script > < script >
27+ var html = document . querySelector ( 'html' ) ;
28+ var sidebar = 'hidden' ;
29+ if ( document . body . clientWidth >= 1080 ) {
30+ try { sidebar = localStorage . getItem ( 'mdbook-sidebar' ) ; } catch ( e ) { }
31+ sidebar = sidebar || 'visible' ;
32+ }
33+ html . classList . remove ( 'sidebar-visible' ) ;
34+ html . classList . add ( "sidebar-" + sidebar ) ;
35+ </ script > < nav id =sidebar class =sidebar aria-label ="Table of contents "> < div class =sidebar-scrollbox > < ol class =chapter > < li class ="chapter-item expanded "> < a href =preface.html > < strong aria-hidden =true > 1.</ strong > Preface</ a > < li class ="chapter-item expanded "> < a href =calculator.html > < strong aria-hidden =true > 2.</ strong > CLI Calculator</ a > < li > < ol class =section > < li class ="chapter-item expanded "> < a href =calc_bash_func.html > < strong aria-hidden =true > 2.1.</ strong > Bash shortcuts</ a > < li class ="chapter-item expanded "> < a href =calc_py_cli.html > < strong aria-hidden =true > 2.2.</ strong > Python CLI application</ a > </ ol > </ ol > </ div > < div id =sidebar-resize-handle class =sidebar-resize-handle > </ div > </ nav > < div id =page-wrapper class =page-wrapper > < div class =page > < div id =menu-bar-hover-placeholder > </ div > < div id =menu-bar class ="menu-bar sticky bordered "> < div class =left-buttons > < button id =sidebar-toggle class =icon-button type =button title ="Toggle Table of Contents "aria-label ="Toggle Table of Contents "aria-controls =sidebar > < i class ="fa fa-bars "> </ i > </ button > < button id =theme-toggle class =icon-button type =button title ="Change theme "aria-label ="Change theme "aria-haspopup =true aria-expanded =false aria-controls =theme-list > < i class ="fa fa-paint-brush "> </ i > </ button > < ul id =theme-list class =theme-popup aria-label =Themes role =menu > < li role =none > < button role =menuitem class =theme id =light > Light</ button > < li role =none > < button role =menuitem class =theme id =rust > Rust (default)</ button > < li role =none > < button role =menuitem class =theme id =coal > Coal</ button > < li role =none > < button role =menuitem class =theme id =navy > Navy</ button > < li role =none > < button role =menuitem class =theme id =ayu > Ayu</ button > </ ul > < button id =search-toggle class =icon-button type =button title ="Search. (Shortkey: s) "aria-label ="Toggle Searchbar "aria-expanded =false aria-keyshortcuts =S aria-controls =searchbar > < i class ="fa fa-search "> </ i > </ button > </ div > < h1 class =menu-title > Practice Python Projects</ h1 > < div class =right-buttons > < a href =https://github.com/learnbyexample/practice_python_projects title ="Git repository "aria-label ="Git repository "> < i id =git-repository-button class ="fa fa-github "> </ i > </ a > </ div > </ div > < div id =search-wrapper class =hidden > < form id =searchbar-outer class =searchbar-outer > < input type =search name =search id =searchbar name =searchbar placeholder ="Search this book ... "aria-controls =searchresults-outer aria-describedby =searchresults-header > </ form > < div id =searchresults-outer class ="searchresults-outer hidden "> < div id =searchresults-header class =searchresults-header > </ div > < ul id =searchresults > </ ul > </ div > </ div > < script >
36+ document . getElementById ( 'sidebar-toggle' ) . setAttribute ( 'aria-expanded' , sidebar === 'visible' ) ;
37+ document . getElementById ( 'sidebar' ) . setAttribute ( 'aria-hidden' , sidebar !== 'visible' ) ;
38+ Array . from ( document . querySelectorAll ( '#sidebar a' ) ) . forEach ( function ( link ) {
39+ link . setAttribute ( 'tabIndex' , sidebar === 'visible' ? 0 : - 1 ) ;
40+ } ) ;
41+ </ script > < div id =content class =content > < main > < div class =sidetoc > < nav class =pagetoc > </ nav > </ div > < h1 > < a class =header href =#document-not-found-404 id =document-not-found-404 > Document not found (404)</ a > </ h1 > < p > This URL is invalid, sorry. Please use the navigation bar or search to continue.</ main > < nav class =nav-wrapper aria-label ="Page navigation "> < div style ="clear: both "> </ div > </ nav > </ div > </ div > < nav class =nav-wide-wrapper aria-label ="Page navigation "> </ nav > </ div > < script >
42+ window . playground_copyable = true ;
43+ </ script > < script src =elasticlunr.min.js charset =utf-8 > </ script > < script src =mark.min.js charset =utf-8 > </ script > < script src =searcher.js charset =utf-8 > </ script > < script src =clipboard.min.js charset =utf-8 > </ script > < script src =highlight.js charset =utf-8 > </ script > < script src =book.js charset =utf-8 > </ script > < script src =sidebar.js > </ script >
0 commit comments