Skip to main content
  • Book
  • © 2016

Lean Python

Learn Just Enough Python to Build Useful Tools

Apress

Authors:

  • A unique "lean" approach to learning just enough Python to be efficiently productive
  • Shows readers how to use Python objects, program structure, I/O modules and more
  • Written by Paul Gerrard, a consultant, teacher, author, webmaster, programmer, tester, conference speaker, rowing coach and publisher
  • 129k Accesses

Buy it now

Buying options

eBook USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 34.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (12 chapters)

  1. Front Matter

    Pages i-xxv
  2. Getting Started

    • Paul Gerrard
    Pages 1-9
  3. Python Objects

    • Paul Gerrard
    Pages 11-24
  4. Program Structure

    • Paul Gerrard
    Pages 25-33
  5. Input and Output

    • Paul Gerrard
    Pages 35-41
  6. Using Modules

    • Paul Gerrard
    Pages 43-45
  7. Object Orientation

    • Paul Gerrard
    Pages 47-52
  8. Exception and Error Handling

    • Paul Gerrard
    Pages 53-56
  9. Testing Your Code

    • Paul Gerrard
    Pages 57-61
  10. Accessing the Web

    • Paul Gerrard
    Pages 63-65
  11. Searching

    • Paul Gerrard
    Pages 67-73
  12. Databases

    • Paul Gerrard
    Pages 75-78
  13. What Next?

    • Paul Gerrard
    Pages 79-82
  14. Back Matter

    Pages 83-87

About this book

Learn only the essential aspects of Python without cluttering up your mind with features you may never use. This compact book is not a "best way to write code" type of book; rather, the author goes over his most-used functions, which are all you need to know as a beginner and some way beyond.

Lean Python takes 58 Python methods and functions and whittles them down to 15: as author Paul Gerrard says, "I haven't found a need for the rest."




What You'll Learn

  • Discover lean Python and how to learn just enough to build useful tools
  • Use Python objects, program structure, I/O, modules and more
  • Handle errors and exceptions 
  • Test your code
  • Access the Web; do searching; and persist data



Who This Book Is For


This book is aimed at three categories of reader: The experienced programmer – if you already know a programming language, this book gives you a shortcut to understanding the Python language and some of its design philosophy. 


You work in IT and need a programming primer – you might be a tester who needs to have more informed technical discussions with programmers. Working through the examples will help you to appreciate the challenge of good programming. 


First-timer – you want a first book on programming that you can assimilate quickly to help you decide whether programming is for you.



Authors and Affiliations

  • Maidenhead, United Kingdom

    Paul Gerrard

About the author

Paul Gerrard is a consultant, teacher, author, webmaster, programmer, tester, conference speaker, rowing coach and publisher.

Bibliographic Information

Buy it now

Buying options

eBook USD 24.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 34.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access