Chapter 2. Introduction to Python

This chapter covers

  • The Python datatypes

  • Basic language constructs

  • Exception handling, list comprehensions, and closures

  • Python project structure: modules and packages

  • The Python standard library

Programming is a craft. Knowing the rules of a programming language is the science behind the art of creating well-structured and elegant programs. Your programs may be small and functional, or they may be vast cathedrals adorned with the intricate masonry of recursive algorithms and data structures. The joy of programming is found in the process of creation as much as in the final result.

In the first chapter, you had a taste of Python, which is essential to programming with IronPython; luckily, Python is easy to learn. This ...

Get IronPython in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.