"}}}},"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;
});
Full documentation of the Python programming language standard library.
Written by the creator of the Python language.
Documents the standard types of the language and its built-in functions and exceptions.
Python Library Reference is a manual that documents Python's standard library, as well as many optional library modules, which may or may not be available, depending on whether the underlying platform supports them and on the configuration choices made at compile time. The reference also documents the standard types of the language and its built-in functions and exceptions, many of which are not or incompletely documented in the Reference Manual. This volume is designed to be a handy desktop companion, saving you the time and expense of printing the documentation yourself. It is also useful when viewing the online version of the Python documentation is inconvenient.
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.
This library reference is very extended, up-to-date and cover every aspects of Python's modules ( string, regular expressions, ...). The division in themes ( Maths, Internet, ...) and in order of usefulness makes it easy to learn and get important information. The index and the table of contents make it very easy to find the appropriate method to perform a particular task. In addition, the style is concise and the presentation clear. Nevertheless, this is only a reference : The examples are rare and insufficient to learn efficiently the language, unless you need'nt examples to learn all about a new language. Therefore, this book should be used as a reminder or a quick finder, i.e. a reference book.