• Complain

David Ascher - Learning Python

Here you can read online David Ascher - Learning Python full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2003, publisher: OReilly Media, Inc., genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

David Ascher Learning Python

Learning Python: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Learning Python" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. Python is considered easy to learn, but theres no quicker way to mastery of the language than learning from an expert teacher. This edition of Learning Python puts you in the hands of two expert teachers, Mark Lutz and David Ascher, whose friendly, well-structured prose has guided many a programmer to proficiency with the language. Learning Python, Second Edition, offers programmers a comprehensive learning tool for Python and object-oriented programming. Thoroughly updated for the numerous language and class presentation changes that have taken place since the release of the first edition in 1999, this guide introduces the basic elements of the latest release of Python 2.3 and covers new features, such as list comprehensions, nested scopes, and iterators/generators. Beyond language features, this edition of Learning Python also includes new context for less-experienced programmers, including fresh overviews of object-oriented programming and dynamic typing, new discussions of program launch and configuration options, new coverage of documentation sources, and more. There are also new use cases throughout to make the application of language features more concrete. The first part of Learning Python gives programmers all the information theyll need to understand and construct programs in the Python language, including types, operators, statements, classes, functions, modules and exceptions. The authors then present more advanced material, showing how Python performs common tasks by offering real applications and the libraries available for those applications. Each chapter ends with a series of exercises that will test your Python skills and measure your understanding. Learning Python, Second Edition is a self-paced book that allows readers to focus on the core Python language in depth. As you work through the book, youll gain a deep and complete understanding of the Python language that will help you to understand the larger application-level examples that youll encounter on your own. If youre interested in learning Python--and want to do so quickly and efficiently--then Learning Python, Second Edition is your best choice. Read more...
Abstract: Portable, powerful, and a breeze to use, Python is the popular open source object-oriented programming language used for both standalone programs and scripting applications. Python is considered easy to learn, but theres no quicker way to mastery of the language than learning from an expert teacher. This edition of Learning Python puts you in the hands of two expert teachers, Mark Lutz and David Ascher, whose friendly, well-structured prose has guided many a programmer to proficiency with the language. Learning Python, Second Edition, offers programmers a comprehensive learning tool for Python and object-oriented programming. Thoroughly updated for the numerous language and class presentation changes that have taken place since the release of the first edition in 1999, this guide introduces the basic elements of the latest release of Python 2.3 and covers new features, such as list comprehensions, nested scopes, and iterators/generators. Beyond language features, this edition of Learning Python also includes new context for less-experienced programmers, including fresh overviews of object-oriented programming and dynamic typing, new discussions of program launch and configuration options, new coverage of documentation sources, and more. There are also new use cases throughout to make the application of language features more concrete. The first part of Learning Python gives programmers all the information theyll need to understand and construct programs in the Python language, including types, operators, statements, classes, functions, modules and exceptions. The authors then present more advanced material, showing how Python performs common tasks by offering real applications and the libraries available for those applications. Each chapter ends with a series of exercises that will test your Python skills and measure your understanding. Learning Python, Second Edition is a self-paced book that allows readers to focus on the core Python language in depth. As you work through the book, youll gain a deep and complete understanding of the Python language that will help you to understand the larger application-level examples that youll encounter on your own. If youre interested in learning Python--and want to do so quickly and efficiently--then Learning Python, Second Edition is your best choice

David Ascher: author's other books


Who wrote Learning Python? Find out the surname, the name of the author of the book and a list of all author's works by series.

Learning Python — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Learning Python" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Learning Python, 2nd Edition
Mark Lutz
David Ascher
Published by OReilly Media

Beijing Cambridge Farnham Kln Sebastopol Tokyo Dedication To the late Frank - photo 1

Beijing Cambridge Farnham Kln Sebastopol Tokyo

Dedication

To the late Frank Willison, our mentor, friend, and first editor.

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/9780596002817/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Preface

This book provides an introduction to the Python programminglanguage. Python is a popular object-oriented language used for bothstandalone programs and scripting applications in a variety ofdomains. It is free, portable, powerful, and remarkably easy to use.

Whether you are new to programming or a professional developer, thisbook's goal is to bring you up to speed on the corePython language in a hurry.

About This Second Edition

In the four years after the first edition of this book was publishedin late 1998, there have been substantial changes in both the Pythonlanguage and in the topics presented by the authors in Pythontraining sessions. Although we have attempted to retain as much ofthe original version as possible, this new edition reflects recentchanges in both Python and Python training.

On the language front, this edition has been thoroughly updated toreflect Python 2.2, and all changes to the language since publicationof the first edition. In addition, discussion of anticipated changesin the upcoming 2.3 release have been incorporated throughout. Someof the major language topics for which you'll findnew or expanded coverage in this edition are:

  • List comprehension ()

  • Class exceptions ()

  • String methods ()

  • Augmented assignment ()

  • Classic, true, and floor division ()

  • Package imports ()

  • Nested function scopes ()

  • Generators and iterators ()

  • Unicode strings ()

  • Subclass types ()

  • Static and class methods ()

  • Pseudo-private class attributes ()

  • Extended print and import statements ()

  • New built-ins such as zip andisinstance ()

  • New-style classes ()

  • New configuration and launch options, and .pthfiles ()

  • New development tools such as IDLE, Psyco, Py2exe, and Installer()

  • New testing and documentation tools such as PyDoc, PyUnit, anddoctest ()

Smaller language changes (e.g., long integer promotion, module exportlists) appear throughout the book. Besides such language changes, weaugmented the core language parts of this edition () with newtopics and examples presented in the Python training sessions Markhas held in recent years. For example, you'll find:

  • A new OOP introduction ()

  • A new dynamic typing overview ()

  • A new development tools summary ()

  • New material on program architecture and execution ()

  • New coverage of documentation sources ()

Many core language part additions and changes were made withbeginners in mind. You'll also find that thecoverage of many original core language topics has been substantiallyexpanded in this edition, with new discussion and examples. Becausethis text has largely become the primary resource for learning thecore Python language, we've taken liberties withmaking that coverage more complete than before, and added new usecases throughout. Likewise, we updated to reflect recent Python application domains, and modern usagepatterns.

In addition, this entire edition integrates a new set of Python tipsand tricks, gleaned from both teaching classes over the last sevenyears, and using Python for real work over the last decade. Theexercises have been updated and expanded to reflect current Pythonpractice, new language features, and common beginner mistakeswe've witnessed first-hand in recent years. Overall,this edition is bigger, both because Python is bigger, and becausewe've added context that has proved to be importantin practice.

To accommodate the fact that this edition is more complete,we've split most of the original chapters intobite-sized chunks. That is, we've reorganized thecore language section into many multichapter parts, to make thematerial easier to tackle. Types and statements, for instance, arenow two top-level parts, with one chapter for each major type andstatement topic. This new structure is designed to allow us to saymore, without intimidating readers. In the process, exercises andgotchas were moved from chapter ends to part ends; they now appear atthe end of the last chapter in each part.

Despite all the new topics, this book is still oriented toward Pythonnewcomers, and is designed to be a first Python text forprogrammers.[] It retains much of thefirst edition's material, structure, and focus.Where appropriate, we have expanded introductions for newcomers, andisolated the more advanced new topics from the main thread ofdiscussion to avoid obscuring the fundamentals. Moreover, because itis largely based on time-tested training experience and materials,this edition, like the first, can still serve as a self-pacedintroductory Python class.

Prerequisites

There are none to speak of, really. This book has been usedsuccessfully by both absolute beginners, and crusty programmingveterans. In general, though, we have found that any exposure toprogramming or scripting before this text can be helpful, even if notrequired for every reader.

This book is designed to be an introductory level Python text forprogrammers. It may not be an ideal text for someone who has nevertouched a computer before (for instance, we're notgoing to spend any time explaining what a computer is), but wehaven't made many assumptions about your programmingbackground or education.

On the other hand, we won't insult readers byassuming they are "dummies" either,whatever that means; it's easy to do useful thingsin Python, and we hope to show you how. The text occasionallycontrasts Python with languages such as C, C++, Java, and Pascal, butyou can safely ignore these comparisons if youhaven't used such languages in the past.

One thing we should probably mention up front:Python's creator, Guido van Rossum, named it afterthe BBC comedy series Monty Python'sFlying Circus . This legacy has inevitably added a humorousflavor to many Python examples. For instance, the traditional"foo" and"bar" become"spam" and"eggs" in the Python world, and insome of the code you'll see in this book. Theoccasional "Brian,""Ni," and"shrubbery" likewise owe theirappearances to this namesake. You don't need to befamiliar with the series to make sense of such examples (symbols aresymbols), but it can't hurt.

This Book's Scope

Although this book covers all the essentials of the Python language,we've kept its scope narrow in the interest of speedand size. To keep things simple, this book focuses on core concepts,uses small and self-contained examples to illustrate points, andsometimes omits the small details that are readily available inreference manuals. Because of that, this book is probably bestdescribed as both an introduction and a stepping stone to moreadvanced and complete texts.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Learning Python»

Look at similar books to Learning Python. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Learning Python»

Discussion, reviews of the book Learning Python and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.