12.07.2015 Views

Is Python a

Is Python a

Is Python a

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

This book is designed to be an introductory-level <strong>Python</strong> text for programmers. Itmay not be an ideal text for someone who has never touched a computer before (forinstance, we’re not going to spend any time exploring what a computer is), but Ihaven’t made many assumptions about your programming background or education.On the other hand, I won’t insult readers by assuming they are “dummies” either,whatever that means—it’s easy to do useful things in <strong>Python</strong>, and this book willshow you how. The text occasionally contrasts <strong>Python</strong> with languages such as C,C++, Java, and Pascal, but you can safely ignore these comparisons if you haven’tused such languages in the past.This Book’s Scope and Other BooksAlthough this book covers all the essentials of the <strong>Python</strong> language, I’ve kept itsscope narrow in the interests of speed and size. To keep things simple, this bookfocuses on core concepts, uses small and self-contained examples to illustrate points,and sometimes omits the small details that are readily available in reference manuals.Because of that, this book is probably best described as an introduction and astepping-stone to more advanced and complete texts.For example, we won’t talk much about <strong>Python</strong>/C integration—a complex topic thatis nevertheless central to many <strong>Python</strong>-based systems. We also won’t talk muchabout <strong>Python</strong>’s history or development processes. And popular <strong>Python</strong> applicationssuch as GU<strong>Is</strong>, system tools, and network scripting get only a short glance, if they arementioned at all. Naturally, this scope misses some of the big picture.By and large, <strong>Python</strong> is about raising the quality bar a few notches in the scriptingworld. Some of its ideas require more context than can be provided here, and I’d beremiss if I didn’t recommend further study after you finish this book. I hope thatmost readers of this book will eventually go on to gain a more complete understandingof application-level programming from other texts.Because of its beginner’s focus, Learning <strong>Python</strong> is designed to be naturally complementedby O’Reilly’s other <strong>Python</strong> books. For instance, Programming <strong>Python</strong>,another book I authored, provides larger and more complete examples, along withtutorials on application programming techniques, and was explicitly designed to be afollow-up text to the one you are reading now. Roughly, the current editions ofLearning <strong>Python</strong> and Programming <strong>Python</strong> reflect the two halves of their author’straining materials—the core language, and application programming. In addition,O’Reilly’s <strong>Python</strong> Pocket Reference serves as a quick reference supplement for lookingup some of the finer details skipped here.Other follow-up books can also provide references, additional examples, or detailsabout using <strong>Python</strong> in specific domains such as the Web and GU<strong>Is</strong>. For instance,O’Reilly’s <strong>Python</strong> in a Nutshell and Sams’s <strong>Python</strong> Essential Reference provide references,and O’Reilly’s <strong>Python</strong> Cookbook offers a library of self-contained examples forPreface | xxxiii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!