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


Groups > comp.lang.python > #43175

Re: Python module vs library

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'interpreter.': 0.07; 'attributes': 0.09; 'imported': 0.09; 'namespace': 0.09; 'subject:module': 0.09; 'python': 0.11; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:library': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'packages.': 0.19; "python's": 0.19; 'code,': 0.22; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'specifically': 0.29; 'am,': 0.29; "doesn't": 0.30; 'nature': 0.30; 'serve': 0.31; 'usually': 0.31; 'bunch': 0.31; 'really': 0.36; 'keyword': 0.36; 'library.': 0.36; 'hi,': 0.36; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'email addr:gmail.com': 0.63; 'between': 0.67; '(ie': 0.84
X-Virus-Scanned amavisd-new at torriefamily.org
Date Tue, 09 Apr 2013 08:18:11 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130105 Thunderbird/10.0.12
MIME-Version 1.0
To python-list@python.org
Subject Re: Python module vs library
References <03ee1902-ac8a-4d1f-9f2b-8e796fcccfe8@googlegroups.com>
In-Reply-To <03ee1902-ac8a-4d1f-9f2b-8e796fcccfe8@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.350.1365517106.3114.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365517106 news.xs4all.nl 6990 [2001:888:2000:d::a6]:52059
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43175

Show key headers only | 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