See All Titles |
![]() ![]() Python LibrariesThe first chapter has given you a good introduction about the Python core language. Everything you have successfully learned will be applied from now on. All the topics covered in the previous chapters are the building blocks for your Python mastering. Now we will concentrate on this chapter. Python's standard distribution is shipped with a rich set of libraries. These libraries intend to offer flexibility to the programmers. The libraries (also known as modules) cover many topics, such as the following:
These are just some of the features implemented by the modules that are reviewed by this chapter. The Library ReferenceThe robustness of Python's library is something amazing. Many users have contributed to the development of these modules during the last few years. Some modules were written in C and are built into the interpreter. Others are written in Python and can be loaded by using the import command. Keep in mind that some of the interfaces may change slightly (for instance, bug fixes) with the next release. Therefore, I suggest that you visit Python's Web site once in a while, and keep yourself up-to-date. You can always browse the latest version of the Python Library Reference at I encourage you to use this chapter in order to get a quick overview about the existing Python libraries. After you have exhausted all the material provided by this book, check out the online Python Library Reference to see the minor details about each one of these Python module interfaces. This chapter introduces you to the practical side of several modules'utilization. The next pages show what main functions each module exposes, and, whenever possible, some examples are listed. Some of the modules—such as debugger(pdb), profiler, Tkinter (the standard Python GUI API) and re—aren't deeply studied here because they are presented in detail in other chapters of this book. Whenever this happens, the chapter number is mentioned next to the module name. The Standard Library of ModulesThis book covers the latest version of the Standard Library of Modules that is available at the time of this writing. The modules are presented in the same order as they are shown in Python's official documentation. This was done to make the work of cross-referencing easier for you. The following topics are the group names that organize the modules you will find.
|
Index terms contained in this sectionlibrariesPython Library Reference Standard Library of Modules Python Library Reference Standard Library of Modules |
© 2002, O'Reilly & Associates, Inc. |