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


Groups > comp.lang.python > #43172

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 <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.06; 'categories.': 0.09; 'namespace': 0.09; 'objects)': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'statements': 0.09; 'subject:module': 0.09; 'python': 0.11; 'collections': 0.16; 'modules,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:library': 0.16; 'wrote:': 0.18; 'library': 0.18; 'module': 0.19; 'import': 0.22; 'header:User-Agent:1': 0.23; '(or': 0.24; 'header:X-Complaints- To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'code': 0.31; 'such.': 0.31; 'running': 0.33; 'classes': 0.35; 'created': 0.35; 'executing': 0.36; 'hi,': 0.36; 'mapping': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'received:173': 0.61; 'email addr:gmail.com': 0.63; 'different': 0.65; 'within': 0.65; 'between': 0.67; 'received:fios.verizon.net': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Jan Reedy <tjreedy@udel.edu>
Subject Re: Python module vs library
Date Tue, 09 Apr 2013 10:02:03 -0400
References <03ee1902-ac8a-4d1f-9f2b-8e796fcccfe8@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
In-Reply-To <03ee1902-ac8a-4d1f-9f2b-8e796fcccfe8@googlegroups.com>
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.347.1365516135.3114.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1365516135 news.xs4all.nl 6978 [2001:888:2000:d::a6]:34466
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43172

Show key headers only | View raw


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

They are in different categories. A Python module is a namespace (a 
mapping of names to objects) created by running Python code as a main 
module or by import statements within Python code (or by executing 
import functions within a Python interpreter). A library in general is a 
collection of functions and classes used by multiple applications. A 
Python library is composed of Python modules, packages, and collections 
of such.

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