December 2000
Intermediate to advanced
816 pages
16h 57m
English
In general, any code that you write that can be integrated or imported into another Python script can be considered an “extension.” This new code can be written in pure Python or in a compiled language like C and C++ (or Java for JPython). However, a more “strict” definition of an extension is relegated to the latter category, the topic of this chapter.
One great feature of Python is that its extensions interact with the interpreter in exactly the same way as the regular Python modules. Python was designed so that the abstraction of module import hides the underlying implementation details from the code which uses such extensions. Unless the client programmer searches the file system, ...
Read now
Unlock full access