{"product_id":"teach-yourself-visually-python-isbn-9781119860259","title":"Teach Yourself VISUALLY Python","description":"\u003cp\u003e\u003cb\u003eA simple, straightforward, and hands-on roadmap to the world of computer programming with Python \u003c\/b\u003e\u003c\/p\u003e \u003cp\u003e\u003ci\u003eTeach Yourself VISUALLY: Python\u003c\/i\u003e is your personal guide to getting you started in programming. As one of the world's most popular—and most accessible—coding languages, Python is your gateway into the wide and wonderful world of computer science. This hands-on guide walks you through Python step by clearly illustrated step, from writing your very first Python code in a terminal window or the VS Code app through to creating your own lists, dictionaries, and custom classes.\u003c\/p\u003e \u003cp\u003eIn the book, you’ll learn to:\u003c\/p\u003e \u003cul\u003e \u003cli\u003eInstall Python and the tools you need to work with it on Windows, macOS, and Linux\u003c\/li\u003e \u003cli\u003eWork with files and folders, manipulate text, and create powerful functions that do exactly what you want\u003c\/li\u003e \u003cli\u003eWrite clean code that makes decisions effectively, repeats actions as needed, and handles any errors that occur\u003c\/li\u003e \u003c\/ul\u003e \u003cp\u003eA must-have resource for aspiring programmers starting from the very beginning, \u003ci\u003eTeach Yourself VISUALLY: Python\u003c\/i\u003e is also an indispensable handbook for programmers making a transition from another language.\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 1 Getting Ready to Work with Python\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding What Python Is and Does 4\u003c\/p\u003e \u003cp\u003eChoose the Right Version of Python 6\u003c\/p\u003e \u003cp\u003eInstall Python on Windows 8\u003c\/p\u003e \u003cp\u003eInstall Python on the Mac 12\u003c\/p\u003e \u003cp\u003eInstall Python on Linux If Necessary 14\u003c\/p\u003e \u003cp\u003eLearn About Development Tools for Python 16\u003c\/p\u003e \u003cp\u003eDownload and Install Visual Studio Code 20\u003c\/p\u003e \u003cp\u003eGet Started with Visual Studio Code and Apply a Theme 22\u003c\/p\u003e \u003cp\u003eInstall Visual Studio Code Extensions for Python 24\u003c\/p\u003e \u003cp\u003eConfigure Visual Studio Code for Working with Python 26\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 2 Writing and Running Your First Python Code\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding the main() Function 30\u003c\/p\u003e \u003cp\u003eCreate and Save a New Script in Visual Studio Code 32\u003c\/p\u003e \u003cp\u003eWrite and Run Code in Visual Studio Code 34\u003c\/p\u003e \u003cp\u003eExecute Python Commands in a Terminal Window 38\u003c\/p\u003e \u003cp\u003eRun a Python Script in a Terminal Window 39\u003c\/p\u003e \u003cp\u003eUnderstanding Comments in Python 40\u003c\/p\u003e \u003cp\u003eAdd Comments to Your Code 42\u003c\/p\u003e \u003cp\u003eGrasp Importing Modules and Objects 44\u003c\/p\u003e \u003cp\u003eImport Modules and Use Their Methods 48\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 3 Getting Started with Variables\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding Variables and Their Usage 52\u003c\/p\u003e \u003cp\u003eUnderstanding Python’s Data Types 54\u003c\/p\u003e \u003cp\u003eWork with Integers 58\u003c\/p\u003e \u003cp\u003eWork with Floating‐Point Values 60\u003c\/p\u003e \u003cp\u003eWork with Boolean Values 62\u003c\/p\u003e \u003cp\u003eWork with Tuples 64\u003c\/p\u003e \u003cp\u003eWork with Sets 66\u003c\/p\u003e \u003cp\u003eStart Working with Strings 68\u003c\/p\u003e \u003cp\u003eStart Working with Lists 70\u003c\/p\u003e \u003cp\u003eStart Working with Dictionaries 72\u003c\/p\u003e \u003cp\u003eConvert Data from One Type to Another 74\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 4 Working with Files and Directories\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding Working with Files and Directories 78\u003c\/p\u003e \u003cp\u003eLoad the os Module and List Files and Directories 80\u003c\/p\u003e \u003cp\u003eNavigate Among Directories 82\u003c\/p\u003e \u003cp\u003eCreate and Delete Directories 84\u003c\/p\u003e \u003cp\u003eRename, Move, and Copy Files and Directories 88\u003c\/p\u003e \u003cp\u003eGet Information About the User and System 92\u003c\/p\u003e \u003cp\u003eSplit a File Path into Its Components 94\u003c\/p\u003e \u003cp\u003eUnderstanding Python’s open() Function 96\u003c\/p\u003e \u003cp\u003eUnderstanding Python’s Ways of Closing Files 97\u003c\/p\u003e \u003cp\u003eOpen a File If It Exists; If Not, Create It 98\u003c\/p\u003e \u003cp\u003eCheck an Open File’s Status and Close It 100\u003c\/p\u003e \u003cp\u003eWrite Data to a File 102\u003c\/p\u003e \u003cp\u003eOpen a File for Both Reading and Writing 104\u003c\/p\u003e \u003cp\u003eAppend Data to a File 106\u003c\/p\u003e \u003cp\u003eRead a Text File 108\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 5 Working with Python’s Operators\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eMeet the Arithmetic Operators 112\u003c\/p\u003e \u003cp\u003eWork with the Arithmetic Operators 114\u003c\/p\u003e \u003cp\u003eMeet the Assignment Operators 116\u003c\/p\u003e \u003cp\u003eWork with the Assignment Operators 117\u003c\/p\u003e \u003cp\u003eMeet the Comparison Operators 118\u003c\/p\u003e \u003cp\u003eWork with the Comparison Operators 119\u003c\/p\u003e \u003cp\u003eMeet the Logical Operators 120\u003c\/p\u003e \u003cp\u003eWork with the Logical Operators 121\u003c\/p\u003e \u003cp\u003eMeet the Identity Operators 122\u003c\/p\u003e \u003cp\u003eWork with the Identity Operators 123\u003c\/p\u003e \u003cp\u003eMeet the Membership Operators 124\u003c\/p\u003e \u003cp\u003eWork with the Membership Operators 125\u003c\/p\u003e \u003cp\u003eMeet the Bitwise Operators 126\u003c\/p\u003e \u003cp\u003eWork with the Bitwise Operators 127\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 6 Making Decisions with if Statements\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eLearn the Essentials of if Statements 130\u003c\/p\u003e \u003cp\u003eUnderstanding the if Statement 132\u003c\/p\u003e \u003cp\u003eCreate an if Statement 133\u003c\/p\u003e \u003cp\u003eUnderstanding the if else Statement 134\u003c\/p\u003e \u003cp\u003eCreate an if else Statement 135\u003c\/p\u003e \u003cp\u003eUnderstanding the if elif Statement 136\u003c\/p\u003e \u003cp\u003eCreate an if elif Statement 137\u003c\/p\u003e \u003cp\u003eUnderstanding the if elif else Statement 138\u003c\/p\u003e \u003cp\u003eCreate an if elif else Statement 139\u003c\/p\u003e \u003cp\u003eUnderstanding Nested if Statements 140\u003c\/p\u003e \u003cp\u003eCreate Nested if Statements 141\u003c\/p\u003e \u003cp\u003eChapter 7 Repeating Actions with Loops\u003c\/p\u003e \u003cp\u003eUnderstanding Python’s Loops 144\u003c\/p\u003e \u003cp\u003eUnderstanding How for Loops Work 146\u003c\/p\u003e \u003cp\u003eCreate for Loops 148\u003c\/p\u003e \u003cp\u003eUnderstanding How while Loops Work 150\u003c\/p\u003e \u003cp\u003eCreate while Loops 152\u003c\/p\u003e \u003cp\u003eUnderstanding break Statements in Loops 154\u003c\/p\u003e \u003cp\u003eUsing a break Statement to Exit a Loop Early 155\u003c\/p\u003e \u003cp\u003eUnderstanding continue Statements in Loops 156\u003c\/p\u003e \u003cp\u003eUsing a continue Statement in a Loop 157\u003c\/p\u003e \u003cp\u003eUnderstanding else Statements in Loops 158\u003c\/p\u003e \u003cp\u003eUsing an else Statement in a Loop 159\u003c\/p\u003e \u003cp\u003eUnderstanding Loop Nesting 160\u003c\/p\u003e \u003cp\u003eNest Loops to Create Complex Repetition 161\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 8 Working with Functions\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding Functions and Their Syntax 164\u003c\/p\u003e \u003cp\u003eUnderstanding Function Parameters and Returns 166\u003c\/p\u003e \u003cp\u003eUsing Python’s Built‐In Functions 168\u003c\/p\u003e \u003cp\u003eCreate a Function with Parameters and a Return 172\u003c\/p\u003e \u003cp\u003eCreate a Function with a Parameter But No Return 173\u003c\/p\u003e \u003cp\u003eCreate a Function with No Parameters But a Return 174\u003c\/p\u003e \u003cp\u003eCreate a Function with No Parameters and No Return 176\u003c\/p\u003e \u003cp\u003eCreate a Function That Returns Multiple Values 177\u003c\/p\u003e \u003cp\u003eCreate a Function with Optional Parameters 178\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 9 Working with Text\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eLearn the Essentials of Strings 182\u003c\/p\u003e \u003cp\u003eCreate Single‐Line Strings 184\u003c\/p\u003e \u003cp\u003eCreate Multiline Strings 186\u003c\/p\u003e \u003cp\u003eMeet Python’s String Methods 188\u003c\/p\u003e \u003cp\u003eReturn Information About a String 190\u003c\/p\u003e \u003cp\u003eTransform and Clean Up a String 192\u003c\/p\u003e \u003cp\u003eReturn Part of a String via Slicing 194\u003c\/p\u003e \u003cp\u003eConcatenate and Repeat Strings 196\u003c\/p\u003e \u003cp\u003eSearch for One String Inside Another String 198\u003c\/p\u003e \u003cp\u003eCheck and Change String Capitalization 200\u003c\/p\u003e \u003cp\u003eMeet Python’s Tools for Building Strings 204\u003c\/p\u003e \u003cp\u003eBuild Strings with the Interpolation Operator 210\u003c\/p\u003e \u003cp\u003eBuild Strings with the .format Method 212\u003c\/p\u003e \u003cp\u003eBuild Strings with f‐Strings 214\u003c\/p\u003e \u003cp\u003eBuild Strings with Template Strings 216\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 10 Handling Errors\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding the Various Types of Errors 220\u003c\/p\u003e \u003cp\u003eIdentify Common Python Errors 222\u003c\/p\u003e \u003cp\u003eMeet the try except Block 224\u003c\/p\u003e \u003cp\u003eCause Errors and Trap Exceptions 226\u003c\/p\u003e \u003cp\u003eRaise an Exception Manually 228\u003c\/p\u003e \u003cp\u003eAdd an else Block or a finally Block 229\u003c\/p\u003e \u003cp\u003eCreate Nested try except Blocks 230\u003c\/p\u003e \u003cp\u003eCreate Custom Exceptions 232\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 11 Working with Lists and Dictionaries\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding Lists and Their Use 236\u003c\/p\u003e \u003cp\u003eCreate a List 238\u003c\/p\u003e \u003cp\u003eMeet Python’s List Methods 239\u003c\/p\u003e \u003cp\u003eAdd Items to a List 240\u003c\/p\u003e \u003cp\u003eRemove Items from a List 242\u003c\/p\u003e \u003cp\u003eLocate Items and Access Data in a List 244\u003c\/p\u003e \u003cp\u003eSort the Items in a List 246\u003c\/p\u003e \u003cp\u003eUnderstanding Dictionaries and Their Use 248\u003c\/p\u003e \u003cp\u003eCreate a Dictionary and Return Values 250\u003c\/p\u003e \u003cp\u003eMeet Python’s Dictionary Methods 251\u003c\/p\u003e \u003cp\u003eCreate a Dictionary from an Existing Iterable 252\u003c\/p\u003e \u003cp\u003eAdd Key\/Value Pairs to a Dictionary 254\u003c\/p\u003e \u003cp\u003eRemove Key\/Value Pairs from a Dictionary 256\u003c\/p\u003e \u003cp\u003eReturn Keys and Values from a Dictionary 258\u003c\/p\u003e \u003cp\u003e\u003cb\u003eChapter 12 Working with Classes\u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eUnderstanding Classes and Instances 262\u003c\/p\u003e \u003cp\u003eCreate a Class and Instantiate Instances 264\u003c\/p\u003e \u003cp\u003eUnderstanding Class and Instance Attributes 266\u003c\/p\u003e \u003cp\u003eSet Class and Instance Attributes 268\u003c\/p\u003e \u003cp\u003eGrasp Class, Instance, and Static Methods 270\u003c\/p\u003e \u003cp\u003eCreate an Instance Method 274\u003c\/p\u003e \u003cp\u003eCreate a Class Method 275\u003c\/p\u003e \u003cp\u003eCreate a Static Method 276\u003c\/p\u003e \u003cp\u003eReview the Class’s Code 277\u003c\/p\u003e \u003cp\u003eIndex 278\u003c\/p\u003e \u003cp\u003e\u003cb\u003e\u003ci\u003eTeach Yourself\u003c\/i\u003e VISUALLY\u003csup\u003e™\u003c\/sup\u003e \u003c\/b\u003e\u003c\/p\u003e \u003cp\u003eAre you a visual learner? Do you prefer instructions that \u003ci\u003eshow\u003c\/i\u003e you how to do something—and skip the long-winded explanations? If so, then this book is for you. Open it up and you’ll find clear, step-by-step screen shots that show you how to tackle over a hundred Python tasks. Each task-based spread covers a single technique, sure to help you get up and running with Python in no time.   \u003c\/p\u003e\u003cp\u003e\u003cb\u003eYou’ll learn to:  \u003cul\u003e\n\u003cli\u003eInstall Python and get coding\u003c\/li\u003e \u003cli\u003eWork interactively and create scripts\u003c\/li\u003e \u003cli\u003eManipulate directories and files\u003c\/li\u003e \u003cli\u003eMake decisions and repeat actions\u003c\/li\u003e \u003cli\u003eDevelop powerful functions\u003c\/li\u003e\n\u003c\/ul\u003e\u003c\/b\u003e \u003c\/p\u003e\u003cp\u003e\u003cb\u003eDesigned for visual learners  \u003cul\u003e\n\u003cli\u003eTwo-page lessons break big topics into bite-sized modules\u003c\/li\u003e \u003cli\u003eSuccinct explanations walk you through step by step \u003c\/li\u003e \u003cli\u003eFull-color screen shots demonstrate each task \u003c\/li\u003e \u003cli\u003eHelpful sidebars offer practical tips and tricks \u003c\/li\u003e\n\u003c\/ul\u003e\u003c\/b\u003e\u003c\/p\u003e","brand":"Wiley","offers":[{"title":"Default Title","offer_id":47990135095525,"sku":"NP9781119860259","price":30.0,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1842\/7735\/files\/9781119860259.jpg?v=1761786636","url":"https:\/\/k12savings.com\/es\/products\/teach-yourself-visually-python-isbn-9781119860259","provider":"K12savings","version":"1.0","type":"link"}