Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #43175

Re: Python module vs library

Date 2013-04-09 08:18 -0600
From Michael Torrie <torriem@gmail.com>
Subject Re: Python module vs library
References <03ee1902-ac8a-4d1f-9f2b-8e796fcccfe8@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.350.1365517106.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 04/09/2013 03:58 AM, k.lykourgos@gmail.com wrote:
> Hi, what is the difference between python module and library ?

"library" doesn't really mean anything specifically to Python's
interpreter.  It's not a valid keyword and is only used by humans to
describe the abstract function and nature of a bunch of arbitrary Python
code, usually in a module or library.

Python does have a concept of modules and packages.  Both serve the same
purpose, which is to bring together a collection of attributes into a
namespace that can be imported into the current namespace (IE a library!).

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python module vs library k.lykourgos@gmail.com - 2013-04-09 02:58 -0700
  Re: Python module vs library Terry Jan Reedy <tjreedy@udel.edu> - 2013-04-09 10:02 -0400
  Re: Python module vs library Michael Torrie <torriem@gmail.com> - 2013-04-09 08:18 -0600
    Re: Python module vs library rusi <rustompmody@gmail.com> - 2013-04-09 07:29 -0700
      Re: Python module vs library Michael Torrie <torriem@gmail.com> - 2013-04-09 09:08 -0600

csiph-web