On 06/18/2012 09:19 AM, Neal Becker wrote:
Am I correct that a module could never come from a file path with a '.' in
the
name?
No.
Simple example: Create a directory called src.directory
In that directory, create two files
::neal.py::
import becker
print becker.__file__
print
I meant a module
src.directory contains
__init__.py
neal.py
becker.py
from src.directory import neal
On Mon, Jun 18, 2012 at 9:44 AM, Dave Angel d...@davea.name wrote:
On 06/18/2012 09:19 AM, Neal Becker wrote:
Am I correct that a module could never come from a file path with a '.'
in the
On 06/18/2012 09:47 AM, Neal Becker wrote:
I meant a module
src.directory contains
__init__.py
neal.py
becker.py
from src.directory import neal
On Mon, Jun 18, 2012 at 9:44 AM, Dave Angel d...@davea.name wrote:
On 06/18/2012 09:19 AM, Neal Becker wrote:
Am I correct that a
On 6/18/2012 9:54 AM, Dave Angel wrote:
On 06/18/2012 09:47 AM, Neal Becker wrote:
I meant a module
You are correct that using periods in a module name conflicts with
periods in import statement syntax.
from src.directory import neal
that has nothing to do with periods being in a