Beginning Python: From Novice to Professional is the most comprehensive book on the Python ever written. Based on Practical Python, this newly-revised book is both an introduction and practical reference for a swath of Python-related programming topics, including addressing language internals, datab
Beginning Python: From Novice to Professional (Beginning: From Novice to Professional)
โ Scribed by Magnus Lie Hetland
- Publisher
- Apress
- Year
- 2005
- Tongue
- English
- Leaves
- 641
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
thank you very much i've been wanted this book for months and it was on the wish list and finally got it
thank you Rod Castillo
โฆ Table of Contents
Cover......Page 1
Contents at a Glance......Page 6
Contents......Page 8
About the Author......Page 24
About the Technical Reviewer......Page 26
Preface......Page 28
Introduction......Page 30
Installing Python......Page 32
The Interactive Interpreter......Page 39
Algo . . . What?......Page 40
Numbers and Expressions......Page 41
Variables......Page 44
Statements......Page 45
Getting Input from the User......Page 46
Functions......Page 47
Modules......Page 48
Saving and Executing Your Programs......Page 50
Strings......Page 54
A Quick Summary......Page 60
Lists and Tuples......Page 62
Common Sequence Operations......Page 63
Lists: Pythonโs Workhorse......Page 71
Tuples: Immutable Sequences......Page 80
A Quick Summary......Page 82
String Formatting: The Short Version......Page 84
String Formatting: The Long Version......Page 86
String Methods......Page 90
A Quick Summary......Page 96
But What Are They For?......Page 98
Dictionary Syntax......Page 99
Basic Dictionary Operations......Page 100
Dictionary Methods......Page 103
A Quick Summary......Page 110
More About print and import......Page 112
Assignment Magic......Page 114
Blocks: The Joy of Indentation......Page 116
Conditions and Conditional Statements......Page 117
Loops......Page 124
List ComprehensionโSlightly Loopy......Page 132
And Three for the Road......Page 133
A Quick Summary......Page 138
Laziness Is a Virtue......Page 140
Abstraction and Structure......Page 141
Creating Your Own Functions......Page 142
The Magic of Parameters......Page 144
Scoping......Page 157
Recursion......Page 160
Throwing Functions Around......Page 164
A Quick Summary......Page 168
The Magic of Objects......Page 170
Classes and Types......Page 178
Some Thoughts on Object-Oriented Design......Page 187
A Quick Summary......Page 188
What Is an Exception?......Page 190
Making Things Go Wrong . . . Your Way......Page 191
Catching Exceptions......Page 193
Catching Two Exceptions with One Block......Page 195
A Real Catchall......Page 196
When All Is Well......Page 197
Exceptions and Functions......Page 199
The Zen of Exceptions......Page 200
A Quick Summary......Page 202
Before We Begin . . .......Page 204
Constructors......Page 205
Item Access......Page 210
Properties......Page 215
Iterators......Page 220
Generators......Page 222
The Eight Queens......Page 226
A Quick Summary......Page 232
Modules......Page 234
Exploring Modules......Page 242
The Standard Library: A Few Favorites......Page 246
A Quick Summary......Page 283
Opening Files......Page 286
The Basic File Methods......Page 288
Iterating Over File Contents......Page 294
A Quick Summary......Page 298
An Example GUI Application......Page 300
A Plethora of Platforms......Page 301
Downloading and Installing wxPython......Page 302
Getting Started......Page 303
Creating Windows and Components......Page 304
Labels and Positions......Page 305
The Finished Program......Page 309
But Iโd Rather Use . . .......Page 311
A Quick Summary......Page 314
The Python DB API......Page 316
Downloading and Installing pysqlite......Page 321
An Example Database Application......Page 322
A Quick Summary......Page 326
A Handful of Networking Modules......Page 328
SocketServer and Friends......Page 333
Multiple Connections......Page 334
Twisted......Page 339
A Quick Summary......Page 342
Screen Scraping......Page 344
Dynamic Web Pages with CGI......Page 352
One Step Up: mod_python......Page 359
Web Services: Scraping Done Right......Page 366
A Quick Summary......Page 370
Test First, Code Later......Page 372
Tools for Testing......Page 375
Beyond Unit Tests......Page 381
A Quick Summary......Page 385
Extending Python......Page 388
The Really Easy Way: Jython and IronPython......Page 389
Writing C Extensions......Page 391
A Quick Summary......Page 401
Distutils Basics......Page 404
Basic Installation......Page 405
Wrapping Things Up......Page 407
Compiling Extensions......Page 409
Creating Executable Programs with py2exe......Page 410
A Quick Summary......Page 411
The Ju-Jitsu of Programming......Page 412
Prototyping......Page 413
Configuration......Page 414
Logging......Page 416
If You Canโt Be Bothered......Page 418
A Quick Summary......Page 419
Whatโs the Problem?......Page 422
Preparations......Page 423
First Implementation......Page 425
Second Implementation......Page 427
Further Exploration......Page 439
Whatโs the Problem?......Page 442
Preparations......Page 443
First Implementation......Page 444
Second Implementation......Page 448
Further Exploration......Page 451
Whatโs the Problem?......Page 452
Useful Tools......Page 453
Preparations......Page 454
First Implementation......Page 455
Second Implementation......Page 461
Further Exploration......Page 468
Whatโs the Problem?......Page 470
Preparations......Page 471
First Implementation......Page 472
Second Implementation......Page 475
Further Exploration......Page 483
Whatโs the Problem?......Page 486
Preparations......Page 487
First Implementation......Page 488
Second Implementation......Page 494
Further Exploration......Page 503
Whatโs the Problem?......Page 504
First Implementation......Page 505
Second Implementation......Page 507
Further Exploration......Page 512
Whatโs the Problem?......Page 514
Preparations......Page 515
First Implementation......Page 517
Second Implementation......Page 520
Further Exploration......Page 529
Whatโs the Problem?......Page 530
First Implementation......Page 532
Second Implementation......Page 540
Further Exploration......Page 547
Useful Tools......Page 548
First Implementation......Page 549
Second Implementation......Page 552
Further Exploration......Page 556
Whatโs the Problem?......Page 558
Useful Tools......Page 559
Preparations......Page 561
First Implementation......Page 562
Second Implementation......Page 566
Further Exploration......Page 576
The Basics......Page 578
Functions......Page 580
Objects and Stuff . . .......Page 581
Some Loose Ends......Page 585
Expressions......Page 588
Statements......Page 597
Python Distributions......Page 602
Useful Toolkits and Modules......Page 603
Newsgroups and Mailing Lists......Page 604
Index......Page 606
๐ SIMILAR VOLUMES
This book was good, if a little out-dated. It provides a solid base of information regarding Ruby, but as of September, 2010, the information it provides on Ruby 1.9 is limited and sometimes incorrect. This is not to say that it is a bad book, however. Considering that Ruby 1.9 was only recently be
Do you want the ability to manage documents, photos, and other content over the Web but dont want to shell out thousands of dollars in proprietary solutions? Want to create an online community for your hobby or user group? Youre not alone. For thousands of like-minded around the globe, the answer is
Ruby is perhaps best known as the engine powering the hugely popular Ruby on Rails web framework. However, it is an extremely powerful and versatile programming language in its own right. It focuses on simplicity and offers a fully object-oriented environment. Beginning Ruby is a thoroughly contempo
<p><span>Beginning Fedora: From Novice to Professional</span><span> guides you through the tasks most new Linux users desire to perform, while explaining potentially confusing concepts along the way. It will steer you through system customization opportunities and common tasks like listening to audi
<span>Do you want the ability to manage documents, photos, and other content over the Web, but don't want to shell out thousands of dollars in proprietary solutions? Want to create an online community for your hobby or user group? You're not alone. For thousands of like-minded users around the globe