A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-May/078977.html below:

[Python-Dev] shal we redefine "module" and "package"?

[Python-Dev] shal we redefine "module" and "package"? [Python-Dev] shal we redefine "module" and "package"?Nick Coghlan ncoghlan at gmail.com
Thu May 1 01:08:25 CEST 2008
zooko wrote:
> Folks:
> 
> Here's an experiment you can perform.  Round up a Python programmer and 
> ask him the following three questions:
> 
> Q1.  You type "import foo" and it works.  What kind of thing is foo?

foo is a package or a module. Not enough information is provide here to 
say which.

> Q2.  You go to the Python package index and download something named 
> "bar-1.0.0.tar.gz".  What kind of thing is bar?

bar is a package, a module, or a collection of a number of these things. 
Again, not enough information is provided in the question to say which 
is actually the case.

Cheers,
Nick.

P.S. People, including programmers, are often sloppy with terminology. 
This is not a new problem.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4