Leanpub Header

Skip to main content

Python For Busy People

Designed for Busy People with Deadlines

This book was designed with the novice Python programmer and/or information technology professional who doesn't have programming experience, but wants or needs to learn Python to do jobs or tasks related to the programming language. If you need to learn Python for tasks such as data scrubbing, network automation, web development, etc.

Minimum price

$24.95

$29.00

You pay

$29.00

Author earns

$23.20
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
PDF
EPUB
About

About

About the Book

"Python For Busy People" are for busy information technology professional and students who need to learn Python in the shortest period of time, but learn all the programming language fundamentals well enough to write scripts and programs with confidence.

Author

About the Author

Derrick Cassidy

Technical Instructor, Author, Programmer and Engineer

My love is teaching and writing about technical subjects especially programming languages. I have nearly four decades of professional experience working, teaching and mentoring novice in the field.

Contents

Table of Contents

  • Introduction
  • Overview
  • Python Syntax
    • Section 1: Syntax
  • Python Comments
    • Section 2 : Comments
  • Python Variables
    • Section 3 - Python Variables
  • Python Data Types
    • Section 4.1 - Built-in Data Types
    • Section 4.2 - Getting the Data Type
    • Section 4.3 - Setting the Data Type
    • Section 4.4 - Setting the Specific Data Type
  • Python Numbers
    • Section 5.1 - Numbers
    • Section 5.2 - Type Conversion
    • Section 5.3 - Random Number
  • Python Casting
    • Section 6.1 - Specify a Variable Type
  • Python Strings
    • Section 7.1 - Strings
    • Section 7.2 - Slicing Strings
    • Section 7.3 - Modify Strings
    • Section 7.4 - String Concatenation
    • Section 7.5 - Format Strings
    • Section 7.6 - Escape Characters
    • Section 7.7 - String Methods
  • Python Booleans
    • Section 8.1 - Boolean Values
    • Section 8.2 - Evaluate Values and Variables
    • Section 8.3 - Most Values are True
    • Section 8.4 - Some Values are False
    • Section 8.5 - Functions can Return a Boolean
  • Python Operators
    • Section 9.1 - Python Operators
    • Section 9.2 - Python Arithmetic Operators
    • Section 9.3 - Python Assignment Operators
    • Section 9.4 - Python Comparison Operators
    • Section 9.5 - Python Logical Operators
    • Section 9.6 - Python Identity Operators
    • Section 9.7 - Python Membership Operators
    • Section 9.8 - Python Bitwise Operators
    • Section 9.9 - Operator Precedence
  • Python Lists
    • Section 10.1 - List
    • Section 10.2 - List Items - Data Types
    • Section 10.3 - Access List Items
    • Section 10.4 - Change List Items
    • Section 10.5 - Add List Items
    • Section 10.6 - Remove List Items
    • Section 10.7 - Loop Lists
    • Section 10.8 - List Comprehension
    • Section 10.9 - Sort Lists
    • Section 10.10 - Copy Lists
    • Section 10.11 - Join Lists
    • Section 10.12 - List Methods
  • Python Tuples
    • Section 11.1 - Tuple
    • Section 11.2 - Access Tuple Items
    • Section 11.3 - Update Tuples
    • Section 11.4 - Unpack Tuples
    • Section 11.5 - Loop Tuples
    • Section 11.6 - Join Tuples
    • Section 11.7 - Tuple Methods
  • Python Sets
    • Section 12.1 - Set
    • Section 12.2 - Access Set Items
    • Section 12.3 - Add Set Items
    • Section 12.4 - Remove Set Items
    • Section 12.5 - Loop Sets
    • Section 12.6 - Join Sets
    • Section 12.7 - Set Methods
  • Python Dictionaries
    • Section 13.1 - Dictionary
    • Section 13.2 - Access Dictionary Items
    • Section 13.3 - Change Dictionary Items
    • Section 13.4 - Add Dictionary Items
    • Section 13.5 - Remove Dictionary Items
    • Section 13.6 - Loop Dictionaries
    • Section 13.7 - Copy Dictionaries
    • Section 13.8 - Nested Dictionaries
    • Section 13.9 - Dictionary Methods
  • Python If…Else
    • Section 14.1 - Python Conditions and If statements
    • Section 14.2 - Indentation
    • Section 14.3 - Elif
    • Section 14.4 - Else
    • Section 14.5 - Short Hand If
    • Section 14.6 - Short Hand IfElse
    • Section 14.7 - And
    • Section 14.8 - Or
    • Section 14.9 - Not
    • Section 14.10 - Nested If
    • Section 14.11 - The pass Statement
  • Python While Loops
    • Section 15.1 - Python Loops
  • Python For Loops
    • Section 16.1 - For Loops
    • Section 16.2 - Looping Through a String
    • Section 16.3 - The break Statement
    • Section 16.4 - The continue Statement
    • Section 16.5 - The range() Function
    • Section 16.6 - Else in For Loop
    • Section 16.7 - Nested Loops
    • Section 16.8 - The pass Statement
  • Python Functions
    • Section 17.1 - Creating a Function
    • Section 17.2 - Calling a Function
    • Section 17.3 - Arguments
    • Section 17.4 - Parameters or Arguments?
    • Section 17.5 - Recursion
  • Python Lambda
    • Section 18.1 - Syntax
    • Section 18.2 - Why Use Lambda Functions?
  • Python Arrays
    • Section 19.1 - Arrays
    • Section 19.2 - Array Methods
  • Python Classes and Objects
    • Section 20.1 - Python Classes/Objects
  • Python Inheritance
    • Section 21.1 - Python Inheritance
  • Python Iterators
    • Section 22.1 - Python Iterators
  • Python Polymorphism
    • Section 23.1 - Function Polymorphism
    • Section 23.2 - Class Polymorphism
    • Section 23.3 - Inheritance Class Polymorphism
  • Python Scope
    • Section 24.1 - Local Scope
    • Section 24.2 - Global Scope
    • Section 24.3 - Global Keyword
  • Python Modules
    • Section 25.1 - What is a Module?
  • Python Datetime
    • Section 26.1 - Python Dates
    • Section 26.2 - Date Output
    • Section 26.3 - Creating Date Objects
    • Section 26.4 - The strftime() Method
  • Python Math
    • Section 27.1 - Built-in Math Functions
    • Section 27.2 - The Math Module
  • Python JSON
    • Section 28.1 - JSON in Python
    • Section 28.2 - Parse JSON - Convert from JSON to Python
    • Section 28.3 - Convert from Python to JSON
    • Section 28.4 - Format the Result
    • Section 28.5 - Order the Result
  • Python Try Except
    • Section 29.1 - Exception Handling
    • Section 29.2 - Many Exceptions
    • Section 29.3 - Else
    • Section 29.4 - Finally
    • Section 29.5 - Raise an exception
  • Python User Input
    • Section 30.1 - Python User Input
  • Python String Formatting
    • Section 31.1 - String format()
    • Section 31.2 - Multiple Values
    • Section 31.3 - Index Numbers
    • Section 31.4 - Named Indexes
  • Python File Open
    • Section 32.1 - File Handling
    • Section 32.2 - Syntax
  • Python File Open
    • Section 33.1 - Open a File on the Server
    • Section 33.2 - Read Only Parts of the File
    • Section 33.3 - Read Lines
    • Section 33.4 - Close Files
  • Python File Write
    • Section 34.1 - Write to an Existing File
    • Section 34.2 - Create a New File
  • Python Delete File
    • Section 35.1 - Delete a File
    • Section 35.2 - Check if File exist:
    • Section 35.3 - Delete Folder

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub