Page 249 -
P. 249
programming toolbox
Your Programming Toolbox
You’ve got Chapter 6 under your
CHAPTER 6 you’ve learned in this chapter:
belt. Let’s look back at what
Programming T ools
* String formats let you use format specifiers to
* String specifiers let you define the type, the
format strings.
length, and the padding used in a format.
* Breaking code into separate files is called
modular programming.
* Modular code is easier to share between
* Writing modular code is like writing your own
programs. Python T ools
* Fully Qualified Names (FQNs) are function
* Use “from ... import *" to
libraries. without module names.
run code module functions
names that include module names.
* Use “import ..." if you need
to qualify your function names
with a module name using an
FQN (which is the recommended
approach in the Python
community).
214 Chapter 6