On Apr 30, 2008, at 5:11 PM, [EMAIL PROTECTED] wrote:
I have a less disruptive counterproposal. How about just starting
to refer to directories (or folders, or zip entries) with
'__init__.py' in them as package modules? A package is-a module
anyway.
That's a good idea.
I belive a
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?
Q2. You go to the Python package index and download something named
bar-1.0.0.tar.gz. What kind of
On Wed, Apr 30, 2008 at 04:21:13PM -0600, zooko wrote:
so perhaps instead the implementors should start using the
terminology understood by the programmers:
1. A module shall henceforth be the name for either a foo.py file
(a single-file module), or a directory with an __init__.py in it
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?
Q2. You go to the Python package index and download something named
bar-1.0.0.tar.gz. What
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.
On 10:53 pm, [EMAIL PROTECTED] wrote:
zooko wrote:
Unfortunately these answers aren't quite right. A package is
actually a directory containing an __init__.py file, and a
distribution is actually what you think of when you say package -- a
reusable package of Python code that you can, for
zooko [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| Folks:
| Unfortunately these answers aren't quite right. A package is
| actually a directory containing an __init__.py file, and a
| distribution is actually what you think of when you say package --
| a reusable package of
zooko [EMAIL PROTECTED] writes:
I'm willing to bet that you will get the following answers:
A1. foo [from 'import foo'] is a module.
A2. bar [of 'bar-1.2.3.tar.gz'] is a package.
A3. A distribution is a version of Linux that comes with a lot of
Free Software.
Unfortunately