"}}}},"cartTimeout":{"template":{"name":"flyoutError","data":{"error":{"button":{"text":"Your Cart","url":"/gp/cart/view.html?ref_=nav_err_cart_timeout"},"title":"Oops!","paragraph":"Unable to retrieve your cart."}}}},"primeTimeout":{"template":{"name":"flyoutError","data":{"error":{"title":""}}}},"ewcTimeout":{"template":{"name":"flyoutError","data":{"error":{"button":{"text":"Your Cart","url":"/gp/cart/view.html?ref_=nav_err_ewc_timeout"},"title":"Oops!","paragraph":"There's a problem loading your cart right now."}}}},"errorWishlist":{"template":{"name":"flyoutError","data":{"error":{"button":{"text":"Your Wishlist","url":"/gp/registry/wishlist/?ref_=nav_err_wishlist"},"title":"Oops!","paragraph":"Unable to retrieve your wishlist"}}}},"emptyWishlist":{"template":{"name":"flyoutError","data":{"error":{"button":{"text":"Your Wishlist","url":"/gp/registry/wishlist/?ref_=nav_err_empty_wishlist"},"title":"Oops!","paragraph":"Your list is empty"}}}},"yourAccountContent":{"template":{"name":"flyoutError","data":{"error":{"button":{"text":"Your Account","url":"/gp/css/homepage.html?ref_=nav_err_youraccount"},"title":"Oops!","paragraph":"Unable to retrieve your account"}}}},"shopAllTimeout":{"template":{"name":"flyoutError","data":{"error":{"paragraph":"Unable to retrieve departments, please try again later"}}}},"kindleTimeout":{"template":{"name":"flyoutError","data":{"error":{"paragraph":"Unable to retrieve list, please try again later"}}}}}); });
window.$Nav && $Nav.when("util.templates").run("FlyoutErrorTemplate", function(templates) {
templates.add("flyoutError", "<# if(error.title) { #><#=error.title #><# } #><# if(error.paragraph) { #>
' +
'' + decodeURIComponent(encodedIframeContent) + ''+'div>'+''+'body>');
doc.close();
}
}
this.iframeload = function () {
var iframe = document.getElementById(iframeId);
iframe.style.display = '';
setTimeout(function () {
setIframeHeight(initialResizeCallback);
}, 20);
}
function getDocHeight(doc) {
var contentDiv = doc.getElementById("iframeContent");
var docHeight = 0;
if(contentDiv){
docHeight = Math.max(
contentDiv.scrollHeight,
contentDiv.offsetHeight,
contentDiv.clientHeight
);
}
return docHeight;
}
function setIframeHeight(resizeCallback) {
var iframeDoc, iframe = document.getElementById(iframeId);
iframeDoc = ((iframe.contentWindow && iframe.contentWindow.document) || iframe.contentDocument);
if (iframeDoc) {
var h = getDocHeight(iframeDoc);
if (h && h != 0) {
iframe.style.height = parseInt(h) + 'px';
if(typeof resizeCallback == "function") {
resizeCallback(iframeId);
}
} else if (nTries < MAX_TRIES) {
nTries++;
setTimeout(function () {
setIframeHeight(resizeCallback);
}, 50);
}
}
}
this.resizeIframe = function(resizeCallback) {
nTries = 0;
setIframeHeight(resizeCallback);
}
}
return DynamicIframe;
});
The Python 2.1 Bible provides the only complete Python language reference on the market and includes all the information and software that developers need to use Python as a rapid application development tool.
The Python 2.1 Bible fills a critical void in the Python reference market. Although it includes a complete Python language reference section, it is still geared towards those of you who already have some programming experience. This book explains each piece of technology in depth and shows through clear examples why each feature is useful. This is the manual you've been waiting for -- the one that covers all major Python components without glossing over how the various pieces fit together.
If Python 2.1 can do it, you can do it too ... Packed with crystal-clear explanations, hands-on examples, and a complete language reference, this authoritative guide gives you all the tools you need for rapid application development with Python 2.1. From variables, expressions, and other basics to XML, multimedia, and multithreading, Python pros Dave Brueck and Stephen Tanner show you step by step how to master Python components, put them together, and create full-featured applications - in practically no time! Inside, you'll find complete coverage of Python 2.1 * Get up to speed on basics with a quick one-hour tutorial * Work with Python data types, expressions, and object-oriented features * Take advantage of Python operating system services and database features * Create Web-savvy applications that can handle Internet data and parse XML * Build graphical applications using Tkinter and wxPython * Process sound and image files * Harness multithreading, encryption, tokenizing, and other advanced techniques * Use Python tools to create number-crunching routines and internationalized applications * Distribute Python applications and modules on a Windows or UNIX system www.hungryminds.com
About the Author
About the Authors Dave Brueck is a professional software developer who loves to use Python whenever possible. His current projects include developing networked games, developing Python interfaces to his stockbroker's C SDK, and plotting to overturn various world governments. Previously Dave was a contributing author to 3D Studio Max R3 Bible by Kelly Murdock, published by Hungry Minds (formerly IDG Books Worldwide). Stephen Tanner is currently using Python to build a black-box software testing framework. His side projects include Python tools to perform probabilistic derivatives-trading analysis, and to download mass quantities of .mp3s. Aside from their "real" jobs, Dave and Stephen enjoy convincing people to pay them big bucks for consulting jobs.
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
I already know some C, C++ and Perl, so I cannot say if this book is really appropriate for someone as an introduction to their first programming language, but for the most part I found it very easy to understand. The authors cover the core Python language in the first 8 chapters, and goes on to introduce methods from some of Python's most important modules (libraries) and give small example programs using many of these features in the next 30 chapters. My gut feeling is that even a dedicated newbie to computing could learn Python from this single book if they worked at it.
The one rough spot is that the authors sometimes insert features into a sample program before that module is covered. However, the reader can simply reference that feature in the index, or just wait to learn what it does in detail later in the book.
I don't remember the author stating this, but whenever you are running Python from a script as opposed to from a prompt, you need to explicity print the result of the expression.
I was worried that Python 2.1 was too old, given that the current is 2.7 (I am on 2.6.4), but I have found that except for a couple of methods being deprecated, everything worked as given.
All in all, it is fairly comprehensive and well written. I heartily recommend this book to anyone wishing to learn Python. -Mike
The book does cover a lot of ground regarding Python and tool kits that are available.
I found it a bit too advanced for someone just getting into the language, however if you already have some familiarity with the language it would help you expand your knowledge beyond the basics obtained with the initial download.
It just covered to much ground to do the job completely and although I know it will become helpful in the future it was the wrong place for me to start.
I was currently learning Python and this book helped me a lot to understand the language and I would highly recommend it to anyone wanting to learn this language.
In the very first part of the book there is a link to access the files used in the book. It appears to not exist! A grave mistake in the reliability of the text. Don't purchase, look for a newer version.
Reviewed in the United States 🇺🇸 on August 19, 2003
With a background of C/C++ and Java, I was dropped in the Python deep-end by a client who had a systems monitoring tool written in Python that needed urgent enhancements made. I ordered the Python 2.1 Bible and the client provided Programming Python 2nd edition (pub. O'Reilly). The O'Reilly book looked at first sight more useful, but I choked on it as it assumed prior knowledge of Python. The Python 2.1 Bible, on the other hand, assumed no prior knowledge of Python and within 3 days (whilst waiting for a Linux box to arrive !) I had written a number of powerful disk utilities, socket-based clients and servers, small GUI-based programs etc that ran on my Windows-based PC and which should run on Linux too (still waiting for the box !!). For me it was an excellent introduction to Python. After reading the Python 2.1 Bible I felt able to read Programming Python. Still waiting for the Linux box though so still haven't written the "urgent" enhancements... The only negatives I would have for Python 2.1 Bible are: (1) that it assumed C/C++ knowledge (which was fine for me but might not be for other people) (2) a (very) few areas could have done with a bit more explanation, raising questions that experienced OO people would want answered
Reviewed in the United States 🇺🇸 on August 7, 2001
Disclaimer: I am a Hungry Minds author, currently working on a book whose topic is related to this one's. Frankly, I really wasn't expecting to like this book. I'm not the kind of guy that buys 'doorstop books' (How to Teach Yourself to be an Idiot in 24 hours), but I figured I'd give this a shot. I was very surprised at how well the authors managed to cover all the basics with clarity, without resorting t the gratuitous screenshots that many books are prone to. I was also very pleased that they included detailed information on a variety of advanced topics that just don't get covered in many other books, like: - Embedding the Python interpreter in your programs - Building a command interpreter (a mini-language) using Python - An overview of the available IDEs for Python ...and other gems. As a tutorial, the first section of the book performs admirably, with just the right level of detail. There are a few extras included, such as coverage of arrays, that are not strictly part of the core Python language, but are useful if you are learning Python as second language. As a general language reference, the book works fairly well, though I still prefer the smaller form-factor of dedicated reference books for this purpose, such as New Rider's 'Python Essential Reference'. In fact, the large size of the book (which makes it hard to hold comfortably) is the only reason that I'm giving it four stars, instead of five.
Reviewed in the United States 🇺🇸 on November 28, 2007
The documentation that comes with Python is woefully inadequate (pitifully lacking in examples, links and clearer writing), which means that any Python user will need to buy some extra documentation such as this wonderful book. Although this book needs to be updated now since the current version of Python is 2.5, it's still an extremely useful book with instantly useful examples. If they came out with a second edition I would snap it up. The writing style may not be a paragon of elegance but it is straight to the point. I would also recommend "Python in a Nutshell" as an extra reference.