Ulrich Eckhardt <ulrich.eckha...@dominolaser.com> writes: > > the directory structure is as follows: > > > > src > > org.test > > A.py > > org.lab > > B.py > > Python uses a dot as separator between different parts of nested > structures, like e.g. the directories during import.
More generally, the name of a module must be a valid Python identifier. Hence, the module-name part of a directory or of a filename must also be a valid Python identifier. The ‘.’ (U+002E FULL STOP) character is not valid in an identifier. -- \ “Pinky, are you pondering what I'm pondering?” “Wuh, I think | `\ so, Brain, but wouldn't anything lose its flavor on the bedpost | _o__) overnight?” —_Pinky and The Brain_ | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list