Impotent men aren't able to keep an erection either because they couldn't produce enough GMP, or they over produce an enzyme （PDE5） that destroy GMP.〔【出典】Hiragana Times, 1998年11月号◆【出版社】株式会社ヤック企画 〕"HT145010", "2354196"
The first line imports the humansize program as a module -- a chunk of code that you can use interactively, or from a larger Python program. Once you import a module, you can reference any of its public functions, classes, or attributes. Modules can do this to access functionality in other modules, and you can do it in the Python interactive shell too. This is an important concept, and you'll see a lot more of it throughout this book.〔【出典】"Dive Into Python 3" by Mark Pilgrim ◆【和訳】Fukada & Fujimoto ◆【License】CC-BY-SA-3.0 〕
He was impotent for 6 years, but regained his functions with this drug.〔【出典】Hiragana Times, 1998年11月号◆【出版社】株式会社ヤック企画 〕"HT145010", "2316502"
Another common use of the ImportError exception is when two modules implement a common API, but one is more desirable than the other. （Maybe it's faster, or it uses less memory.） You can try to import one module but fall back to a different module if the first import fails. For example, the XML chapter talks about two modules that implement a common API, called the ElementTree API. The first, lxml, is a third-party module that you need to download and install yourself. The second, xml.etree.ElementTree, is slower but is part of the Python 3 standard library.〔【出典】"Dive Into Python 3" by Mark Pilgrim ◆【和訳】Fukada & Fujimoto ◆【License】CC-BY-SA-3.0 〕
One of Python's built-in exceptions is ImportError, which is raised when you try to import a module and fail. This can happen for a variety of reasons, but the simplest case is when the module doesn't exist in your import search path. You can use this to include optional features in your program. For example, the chardet library provides character encoding auto-detection. Perhaps your program wants to use this library if it exists, but continue gracefully if the user hasn't installed it. You can do this with a try..except block.〔【出典】"Dive Into Python 3" by Mark Pilgrim ◆【和訳】Fukada & Fujimoto ◆【License】CC-BY-SA-3.0 〕