validator icon indicating copy to clipboard operation
validator copied to clipboard

Intra Package Referencing

Open timeyyy opened this issue 11 years ago • 0 comments

https://docs.python.org/3/tutorial/modules.html,

part 6.4.2, after installing with pip i couldn't follow along with your example, i had to change the import lines in the modules for the imports to work.

before: import field (in colletion.py) import rule (in field.py and rules.py)

after: from validator import field from validator import rule

Also i had to run the 2to3 python conversion tool on rules.py

timeyyy avatar Jul 29 '14 12:07 timeyyy