Buy Unlocking Python Book by Ryan Mitchell - Bookswagon
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Book 1
Book 2
Book 3
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Unlocking Python: A Comprehensive Guide for Beginners
Unlocking Python: A Comprehensive Guide for Beginners

Unlocking Python: A Comprehensive Guide for Beginners


     0     
5
4
3
2
1



Available


X
About the Book

A fun and practical guide to learning Python with a special focus on data science, web scraping, and web applications

In Unlocking Python: A Comprehensive Guide for Beginners, veteran software engineer, educator, and author Ryan Mitchell delivers an intuitive, engaging, and practical roadmap to Python programming. The author walks you through the vocabulary, tools, foundational knowledge, and occasional pop-culture references you'll need to hone your skills with this popular programming language.

You'll learn how to install and run Python on your own machine, get up and coding with the language quickly, and best practices for programming both independently and in the workplace. You'll also find:

  • Key concepts in computer and data science explained from the ground up
  • Advanced Python topics such as logging, unit testing, multiprocessing, and interacting with databases.
  • Introductions to some of Python's most popular third-party libraries: Flask, Django, Scrapy, Scikit-Learn, Numpy, and Pandas
  • Amusing anecdotes from the trenches of industry

Perfect for tech-savvy professionals at any stage of their careers who are interested in diving into Python programming. Unlocking Python is also a must-read for readers who work in a technical role but are interested in getting more directly involved with programming, as well as non-Python programmers who want to apply their technical skill to a new language.



Table of Contents:

Part I: Programming

Chapter 1: Introduction to Programming 3

Programming as a Career 4

Myths About Programmers 4

How Computers Work 7

A Brief History of Modern Computing 12

The Unix Operating System 12

Modern Programming 13

Talking About Programming Languages 14

Problem-Solving as a Programmer 17

Chapter 2: Programming Tools 21

Shell 21

Version Control Systems 25

Authenticating with GitHub with SSH Keys 27

Integrated Development Environments 33

Web Browsers 34

Chapter 3: About Python 37

The Python Software Foundation 38

The Zen of Python 39

The Python Interpreter 40

The Python Standard Library 41

Third-Party Libraries 42

Versions and Development 43

Part II: Python

Chapter 4: Installing and Running Python 47

Installing Python 47

Windows 48

macOS 48

Linux 49

Installing and Using pip 50

Windows 51

macOS 51

Linux 51

Installing and Using Jupyter for IPython files 52

Virtual Environments 54

Anaconda 56

Chapter 5: Python Quickstart 59

Variables 59

Data Types 62

Operators 67

Arithmetic Operators 67

Operators and Assignments 69

Comparison Operators 70

Identity Operators 71

Boolean Operators 73

Membership Operators 73

Control Flow 74

If and Else 75

For 76

While 76

Functions 78

Classes 80

Everything Is an Object 82

Data Structures 82

Lists 83

Dictionaries 84

Tuples 86

Sets 86

Exercises 88

Chapter 6: Lists and Strings 91

String Operations 91

String Methods 92

List Operations 95

Slicing 97

List Comprehensions 100

Exercises 103

Chapter 7: Dictionaries, Sets, and Tuples 105

Dictionaries 105

Dictionary Comprehensions 108

Reducing to Dictionaries 110

Sets 112

Tuples 114

Exercises 116

Chapter 8: other Types of Objects 119

Other Numbers 119

Dates 124

Bytes 129

Exercises 132

Chapter 9: Iterables, Iterators, Generators, and Loops 135

Iterables and Iterators 135

Generators 137

Looping with Pass, Break, Else, and Continue 139

Assignment Expressions 143

Walrus Operators 143

Recursion 144

Exercises 148

Chapter 10: Functions 149

Positional Arguments and Keyword Arguments 149

Functions as First-Class Objects 155

Lambda Functions 158

Namespaces 160

Decorators 163

Exercises 168

Chapter 11: Classes 171

Static Methods and Attributes 173

Inheritance 175

Multiple Inheritance 178

Encapsulation 182

Polymorphism 186

Exercises 188

Chapter 12: Writing Cleaner Code 189

PEP 8 and Code Styles 189

Comments and Docstrings 190

Documentation 194

Linting 196

Formatting 199

Type Hints 200

Part III: Advanced Topics

Chapter 13: Errors and Exceptions 207

Handling Exceptions 207
Else and Finally 210

Raising Exceptions 212

Custom Exceptions 214

Exception Handling Patterns 217

Exercises 223

Chapter 14: Modules and Packages 225

Modules 225

Import This 228

Packages 229

Installing Packages 235

Exercises 240

Chapter 15: Working with Files 243

Reading Files 243

Writing Files 247

Binary Files 250

Buffering Data 252

Creating and Deleting Files and Directories 254

Serializing, Deserializing, and Pickling Data 256

Exercises 259

Chapter 16: Logging 261

The Logging Module 261

Handlers 266

Formatting 269

Exercises 272

Chapter 17: Threads and Processes 275

How Threads and Processes Work 275

Threading Module 276

Locking 280

Queues 283

Multiprocessing Module 285

Exercises 292

Chapter 18: Databases 293

Installing and Using SQLite 294

Installing SQLite 294

Using SQLite 296

Query Language Syntax 297

Using SQLite with Python 300

Object Relational Mapping 303

Exercises 306

Chapter 19: Unit Testing 307

The Unit Testing Framework 309

Setting Up and Tearing Down 312

Mocking Methods 314

Mocking with Side Effects 318

Part IV: Python Frameworks

Chapter 20: Rest Apis and Flask 323

HTTP and APIs 323

Getting Started with Flask Applications 327

APIs in Flask 330

Databases 333

Authentication 336

Sessions 338

Templates 342

Chapter 21: Django 345

Installing Django and Starting Django 346

Databases and Migrations 351

Django Admin Interface 353

Models 355

More Views and Templates 358

More Resources 361

Chapter 22: Web Scraping and Scrapy 363

Installing and Using Scrapy 364

Parsing HTML 366

Items 371

Crawling with Scrapy 372

Item Pipelines 376

Chapter 23: Data Analysis with Numpy and Pandas 379

NumPy Arrays 380

Pandas DataFrames 383

Cleaning 387

Filtering and Querying 391

Grouping and Aggregating 393

Chapter 24: Machine Learning with Matplotlib And Scikit-learn 397

Types of Machine Learning Models 398

Exploratory Analysis with Matplotlib 400

Building Supervised Models with Scikit-Learn 409

Evaluating Classification Models with Scikit-Learn 415

Index 421



About the Author :

RYAN MITCHELL is the author of Unlocking Python (Wiley), Web Scraping with Python (O’Reilly), and multiple courses on LinkedIn Learning including Python Essential Training. She holds a master’s degree in software engineering from Harvard University Extension School and has worked as principal software engineer and data scientist on the search team at the Gerson Lehrman Group for the last six years.


Best Sellers


Product Details
  • ISBN-13: 9781394288496
  • Publisher: John Wiley & Sons Inc
  • Publisher Imprint: John Wiley & Sons Inc
  • Height: 231 mm
  • No of Pages: 448
  • Returnable: N
  • Spine Width: 28 mm
  • Weight: 856 gr
  • ISBN-10: 1394288492
  • Publisher Date: 06 May 2025
  • Binding: Paperback
  • Language: English
  • Returnable: Y
  • Returnable: Y
  • Sub Title: A Comprehensive Guide for Beginners
  • Width: 188 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Unlocking Python: A Comprehensive Guide for Beginners
John Wiley & Sons Inc -
Unlocking Python: A Comprehensive Guide for Beginners
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Unlocking Python: A Comprehensive Guide for Beginners

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!