From the course: Programming Foundations: Real-World Examples

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Select tools from modules

Select tools from modules - Python Tutorial

From the course: Programming Foundations: Real-World Examples

Start my 1-month free trial

Select tools from modules

- There's a common saying that a smart programmer is a lazy programmer. What that means is clever programmers don't waste time rewriting routines that already exist. There's no need to reinvent the wheel if it's already been invented for you. Almost all programming languages come with a standard library of code for accomplishing common programming tasks. And you should learn how to use the existing libraries because it'll save you a lot of time. In Python, those libraries come in the form of packages and modules which give you access to a wide range of functions and classes to use for different tasks. Other languages call them libraries or patches. Built-in functions we might use to write our program are organized within modules and packages just like the tools in my garage. One of my brake lights is out, and in order to fix the problem, I'm going to need the right tools for the job. I keep different types of tools organized into different toolboxes. This toolbox holds my screwdrivers…

Contents