[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-682644-105":3,"doc-detail-682644-en":80,"detail-sidebar-cat-0-en-105":119,"doc-similar-682644":166},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","visual-quickstart-guide-python-third-edition-learn-the-quick-and-easy-way","Visual QuickStart Guide - Python - Third Edition - Learn the quick and easy way","","A Visual QuickStart Guide introducing Python for learning quickly and easily. The book lays out a structured progression from programming fundamentals—installation, variables, arithmetic, and strings—to writing programs with an editor, compiling and running code, and handling input/output. It covers control flow, functions, modules, and strings in depth, then advances to data structures, exception handling, and object-oriented programming, including a case study on text statistics. Appendices add popular Python packages and compare Python 2 vs Python 3.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/visual-quickstart-guide-python-third-edition-learn-the-quick-and-easy-way/682644/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/visual-quickstart-guide-python-third-edition-learn-the-quick-and-easy-way/682644.png","ImageObject",300,407,{"name":42,"@type":43},"iuabcfuw","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-10","2026-11-06",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is the book’s overall learning approach for Python?","Question",{"text":62,"@type":63},"It follows a quick, structured progression that starts with programming basics and advances through core Python concepts and programming techniques.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"Which topics are covered in the early chapters?",{"text":67,"@type":63},"The early coverage includes installing Python, understanding how the language is used, interactive command shell basics, arithmetic, strings, variables, and type conversion.",{"name":69,"@type":60,"acceptedAnswer":70},"What advanced areas does the book reach later on?",{"text":71,"@type":63},"Later topics include exception handling, object-oriented programming, data structures, and a case study on text statistics, plus appendices comparing Python 2 and Python 3 and listing popular packages.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},682644,1793977303,{"code":4,"msg":81,"data":82},"success",{"doc_id":78,"user_id":83,"nickname":42,"user_avatar":84,"doc_module":4,"category_id":85,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":86,"file_id":87,"file_url":88,"file_type":89,"file_size":90,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":91,"language":92,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":93,"faqs":94,"seo_title":95,"seo_description":12,"update_tm":79,"read_time":96,"preview_page_count":97,"preview_urls":98},3985747874027,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc",6,"VISUAL QUICKSTART GUIDE  \nL A R RY U L L M A N  \nPython  \nThird Edition  \nTOBY DONALDSON  \nLEARN THE QUICK AND EASY WAY!  \nVIS UAL Q UIC K STA RT G UIDE  \nPython  \nTOBY DONALDSON  \n Peachpit Press  \nVisual QuickStart Guide  \nPython, Third Edition  \nToby Donaldson  \nPeachpit Press [www.peachpit.com](www.peachpit.com)  \nTo report errors, [please send a note to errata@peachpit.com](please send a note to errata@peachpit.com)[ ](please send a note to errata@peachpit.com)Peachpit Press is a division of Pearson Education Copyright © 2014 by Toby Donaldson  \nEditor: Scout Festa  \nProduction Editor: Katerina Malone  \nCompositor: David Van Ness  \nIndexer: Valerie Haynes Perry  \nCover Design: RHDG / Riezebos Holzbaur Design Group, Peachpit Press  \nInterior Design: Peachpit Press  \nLogo Design: MINE™ [www.minesf.com](www.minesf.com)  \nNotice of Rights  \nAll rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. For information on getting permission for reprints and excerpts, [contact permissions@peachpit.com](contact permissions@peachpit.com).  \nNotice of Liability  \nThe information in this book is distributed on an “As Is” basis, without warranty. While every precaution has been taken in the preparation of the book, neither the author nor Peachpit shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the computer software and hardware products described in it.  \nTrademarks  \nVisual QuickStart Guide is a registered trademark of Peachpit Press, a division of Pearson Education.  \nMany of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and Peachpit was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book.  \nISBN-13: 978-0-321-92955-6  \nISBN-10: 0-321-92955-1 9 8 7 6 5 4 3 2 1  \nPrinted and bound in the United States of America  \nAcknowledgments  \nThanks to Clifford Colby and Scout Festa for their expertise and patience in bringing this edition of the book to life; to the many students at SFU who continue to teach me how best to learn Python; to John Edgar and the other computer science teachers at SFU with whom I’ve had the pleasure to work; and to Bonnie, Thomas, and Emily for recommending I avoid using the word blithering more than once in these acknowledgments. And a special thank you to Guido van Rossum and the rest ofthe Python community for creating a programming language that is so much fun to use.  \nContents at a Glance  \nChapter 1 Introduction to Programming ............. 1  \nChapter 2 Arithmetic, Strings, and Variables .......... 9  \nChapter 3 Writing Programs .................... 31  \nChapter 4 Flow of Control ..................... 43  \nChapter 5 Functions ......................... 67  \nChapter 6 Strings ........................... 83  \nChapter 7 Data Structures ..................... 101  \nChapter 8 Input and Output .................... 123  \nChapter 9 Exception Handling .................. 143  \nChapter 10 Object-Oriented Programming ........... 153  \nChapter 11 Case Study: Text Statistics .............. 177  \nAppendix A Popular Python Packages ............... 195  \nAppendix B Comparing Python 2 and Python 3 ........ 199  \nIndex ............................ 203  \nTable of Contents  \nChapter 1 Introduction to Programming .............. 1  \nThe Python Language .................... 2  \nWhat Is Pytho","cbCaiaLsLDZ1PRFU","https://ap.wps.com/l/cbCaiaLsLDZ1PRFU","pdf",2467496,48,"English","# Chapter 1 Introduction to Programming\n## The Python Language\n## What Is Python Useful For?\n## How Programmers Work\n## Installing Python\n# Chapter 2 Arithmetic, Strings, and Variables\n## The Interactive Command Shell\n## Integer Arithmetic\n## Floating Point Arithmetic\n## Strings\n## Getting Help\n# Chapter 3 Writing Programs\n## Using IDLE’s Editor\n## Compiling Source Code\n## Structuring a Program\n# Chapter 4 Flow of Control\n## Boolean Logic\n## If-Statements\n## Code Blocks and Indentation\n## Loops\n# Chapter 5 Functions\n## Calling Functions\n## Defining Functions\n## Variable Scope\n## Modules\n# Chapter 6 Strings\n## String Indexing\n## Characters\n## Slicing Strings","[{\"question\":\"What is the book’s overall learning approach for Python?\",\"answer\":\"It follows a quick, structured progression that starts with programming basics and advances through core Python concepts and programming techniques.\"},{\"question\":\"Which topics are covered in the early chapters?\",\"answer\":\"The early coverage includes installing Python, understanding how the language is used, interactive command shell basics, arithmetic, strings, variables, and type conversion.\"},{\"question\":\"What advanced areas does the book reach later on?\",\"answer\":\"Later topics include exception handling, object-oriented programming, data structures, and a case study on text statistics, plus appendices comparing Python 2 and Python 3 and listing popular packages.\"}]","Visual QuickStart Guide - Python - Third Edition - Learn the quick and easy way | PDF",121,5,[99,103,107,111,115],{"page_no":22,"url":100,"width":101,"height":102},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/8257265468eed0d7014d11fd41481a1e.webp",983,1263,{"page_no":26,"url":104,"width":105,"height":106},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/2891e38957e0a86e2d955331cdc85210.webp",982,1262,{"page_no":30,"url":108,"width":109,"height":110},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/afdb43c06a62fc022db8062e92a8c71e.webp",981,1261,{"page_no":33,"url":112,"width":113,"height":114},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/6b51e48c0e0c55dcbaee0997140cb36d.webp",980,1260,{"page_no":97,"url":116,"width":117,"height":118},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/8660da33de8d54c3f3e32f7557ff94b4.webp",979,1258,{"code":4,"msg":81,"data":120},[121,125,129,133,137,140,145,150,155,158,162],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":122,"show_sort_weight":123,"slug":124},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":126,"show_sort_weight":127,"slug":128},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":130,"show_sort_weight":131,"slug":132},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":134,"show_sort_weight":135,"slug":136},"Comic",60,"comic",{"id":85,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":138,"slug":139},50,"technology",{"id":141,"doc_module":4,"doc_module_name":25,"category_name":142,"show_sort_weight":143,"slug":144},7,"Healthcare",40,"healthcare",{"id":146,"doc_module":4,"doc_module_name":25,"category_name":147,"show_sort_weight":148,"slug":149},8,"Research & Report",30,"research-report",{"id":151,"doc_module":4,"doc_module_name":25,"category_name":152,"show_sort_weight":153,"slug":154},9,"Religion & Spirituality",20,"religion-spirituality",{"id":153,"doc_module":4,"doc_module_name":25,"category_name":156,"show_sort_weight":153,"slug":157},"World Cup","world-cup",{"id":159,"doc_module":4,"doc_module_name":25,"category_name":160,"show_sort_weight":159,"slug":161},10,"Lifestyle","lifestyle",{"id":163,"doc_module":4,"doc_module_name":25,"category_name":164,"show_sort_weight":97,"slug":165},19,"General","general",{"list":167,"token":11},[168,174,180,186,191,197,204,211,218,225],{"doc_id":169,"doc_title":170,"file_type":89,"home_preview_img_url":171,"slug":172,"view_count":33,"category_name":29,"create_tm":173},671798,"Python - Visual QuickStart Guide Table of Contents - Chapter 1 to Appendix B","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988403999/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=hUxjizECcoxwOJ6OP2tRxGZ7ixo%3D","python-visual-quickstart-guide-table-of-contents-chapter-1-to-appendix-b",1793580658,{"doc_id":175,"doc_title":176,"file_type":89,"home_preview_img_url":177,"slug":178,"view_count":97,"category_name":29,"create_tm":179},682648,"Python - Visual QuickStart Guide - Quick and easy way","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999674985/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=F499vMjYjw%2F9BGjA7ulP8XGhHEo%3D","python-visual-quickstart-guide-quick-and-easy-way",1793977311,{"doc_id":181,"doc_title":182,"file_type":89,"home_preview_img_url":183,"slug":184,"view_count":141,"category_name":29,"create_tm":185},692229,"A Beginners Guide to Python 3 Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011037/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=RGQu96wK4oPJjrq9U8o%2F%2F17ioQs%3D","a-beginners-guide-to-python-3-programming-692229",1794186373,{"doc_id":187,"doc_title":182,"file_type":89,"home_preview_img_url":188,"slug":189,"view_count":30,"category_name":29,"create_tm":190},682652,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998958669/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=eZiTwvNcc%2BbB5sjyVDGJ577Embw%3D","a-beginners-guide-to-python-3-programming",1793977325,{"doc_id":192,"doc_title":193,"file_type":89,"home_preview_img_url":194,"slug":195,"view_count":153,"category_name":29,"create_tm":196},347081,"Java - Programming - Ninth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997878/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=MStT2Tcql5OUbvAFxSpk1xhR2u0%3D","java-programming-ninth-edition",1790065180,{"doc_id":198,"doc_title":199,"file_type":89,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},417799,"PYTHON PROGRAMMING - R17A0554 - Lecture Notes - B.TECH III YEAR II SEM","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922495571/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=MzcRlJnKsy8SsXqWTNALrVD%2F5sk%3D","python-programming-r17a0554-lecture-notes-btech-iii-year-ii-sem",15,1790610657,{"doc_id":205,"doc_title":206,"file_type":89,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},19157,"C++ & Python for Beginners","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229709434556/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=47LEPY5%2FL2o0ubcRC7KeOO0lenw%3D","c-python-for-beginners",65,1777154415,{"doc_id":212,"doc_title":213,"file_type":89,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},671794,"Python Tutorial - Release 3.7.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988403939/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=bforfmTVf35fomsDme39w8FD3ys%3D","python-tutorial-release-370",16,1793580648,{"doc_id":219,"doc_title":220,"file_type":89,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":29,"create_tm":224},290268,"KUASAI MACHINE LEARNING & COMPUTER VISION DALAM SEKEJAP","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903725815/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Vpu0eRMzHiLCuCXMgpHZYFhjMBM%3D","master-machine-learning-computer-vision-instantly",14,1789641180,{"doc_id":226,"doc_title":227,"file_type":89,"home_preview_img_url":228,"slug":229,"view_count":146,"category_name":29,"create_tm":230},692233,"Hands-on Python Tutorial - Release 2.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003011223/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=T4aAchHt1Qpw6Xw%2B7BOMbPJ%2BrXQ%3D","hands-on-python-tutorial-release-20",1794186384]