Skip to main content
  • Book
  • © 2017

Beginning Python

From Novice to Professional

Apress
  • Includes ten projects to provide hands-on learning
  • Updated for Python 3
  • Covers language internals, database integration, network programming, and web services

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.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 (29 chapters)

  1. Front Matter

    Pages i-xxxii
  2. Instant Hacking: The Basics

    • Magnus Lie Hetland
    Pages 1-24
  3. Lists and Tuples

    • Magnus Lie Hetland
    Pages 25-44
  4. Working with Strings

    • Magnus Lie Hetland
    Pages 45-58
  5. Dictionaries: When Indices Won’t Do

    • Magnus Lie Hetland
    Pages 59-70
  6. Conditionals, Loops, and Some Other Statements

    • Magnus Lie Hetland
    Pages 71-99
  7. Abstraction

    • Magnus Lie Hetland
    Pages 101-127
  8. More Abstraction

    • Magnus Lie Hetland
    Pages 129-148
  9. Exceptions

    • Magnus Lie Hetland
    Pages 149-162
  10. Magic Methods, Properties, and Iterators

    • Magnus Lie Hetland
    Pages 163-193
  11. Batteries Included

    • Magnus Lie Hetland
    Pages 195-239
  12. Files and Stuff

    • Magnus Lie Hetland
    Pages 241-252
  13. Graphical User Interfaces

    • Magnus Lie Hetland
    Pages 253-259
  14. Database Support

    • Magnus Lie Hetland
    Pages 261-271
  15. Network Programming

    • Magnus Lie Hetland
    Pages 273-287
  16. Python and the Web

    • Magnus Lie Hetland
    Pages 289-306
  17. Testing, 1-2-3

    • Magnus Lie Hetland
    Pages 307-320
  18. Extending Python

    • Magnus Lie Hetland
    Pages 321-336
  19. Packaging Your Programs

    • Magnus Lie Hetland
    Pages 337-342
  20. Playful Programming

    • Magnus Lie Hetland
    Pages 343-351

About this book

Gain a fundamental understanding of Python’s syntax and features with this up–to–date introduction and practical reference. Covering a wide array of Python–related programming topics, including addressing language internals, database integration, network programming, and web services, you’ll be guided by sound development principles. Ten accompanying projects will ensure you can get your hands dirty in no time.

Updated to reflect the latest in Python programming paradigms and several of the most crucial features found in Python 3, Beginning Python also covers advanced topics such as extending Python and packaging/distributing Python applications.

What You'll Learn

  • Become a proficient Python programmer by following along with a friendly, practical guide to the language’s key features
  • Write code faster by learning how to take advantage of advanced features such as magic methods, exceptions, and abstraction
  • Gain insight into modern Python programming paradigms including testing, documentation, packaging, and distribution
  • Learn by following along with ten interesting projects, including a P2P file–sharing application, chat client, video game, remote text editor, and more

Who This Book Is For


Programmers, novice and otherwise, seeking a comprehensive introduction to the Python programming language.


Reviews

“Hetland’s Beginning Python is an excellent book for individuals new to programming or those with intermediate programming skills. … Throughout the book, he presents a number of examples that are easy to implement and illustrate various aspects of the discussed topic. … the text is strongly recommended for those seeking to learn the Python language. Summing Up: Highly recommended. Lower- and upper-division undergraduates; general readers.” (D. B. Mason, Choice, Vol. 55 (1), September, 2017) 

Authors and Affiliations

  • Trondheim, Norway

    Magnus Lie Hetland

About the author

Magnus Lie Hetland is an experienced Python programmer, having used the language since the late 1990s. He is also an associate professor of algorithms at the Norwegian University of Science and Technology, having taught algorithms for the better part of a decade. Hetland is the author of Practical Python and Beginning Python, first and second editions, as well as several scientific papers.

Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 69.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