[Tutor] library:

Joel Goldstick joel.goldstick at gmail.com
Wed Aug 21 19:31:55 CEST 2013


On Wed, Aug 21, 2013 at 4:29 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> 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 python libraries are called modules I believe.  So you may see
either term, and unless someone here corrects me, they are the same.
>
> 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
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor



-- 
Joel Goldstick
http://joelgoldstick.com


More information about the Tutor mailing list