[Tutor] library:
Steven D'Aprano
steve at pearwood.info
Wed Aug 21 10:29:59 CEST 2013
On Tue, Aug 20, 2013 at 10:00:24PM -0500, William Crowder wrote:
> I am reading posts and watching videos. I am following along
> with the shell, i am retaining the info. But WHAT is a library?
In English, a library is a collection of books, or magazines.
A "software library" is a collection of programs or functions, instead
of books. Sometimes it will be one file, with many functions. Sometimes
it will be many files.
In Python:
import math
will load the math library, so you can use functions like math.sin,
math.sqrt, and others.
Does this answer your question? If you need more help, please ask.
--
Steven
More information about the Tutor
mailing list