4. Shortcuts, Command Line, and Packages
Master crafters need many things, but, above all, they need to master the tools of the profession. This chapter introduces tools that, even if you’re a fairly experienced Python programmer, you may not have yet learned. These tools will make you more productive as well as increase the efficiency of your programs.
So get ready to learn some new tips and tricks.
Python is unusually gifted with shortcuts and time-saving programming techniques. This chapter begins with a discussion of twenty-two of these techniques.
Another thing you can do to speed up certain programs is to take advantage of the many packages that are available with Python. Some of these—such as
re (regular expressions),