At 03:23 PM 5/31/2001 +0000, Sasa Zivkov wrote:
>"from middle.video import video" in GenVideo is now working not because
>of "../../" but because (based on your tip) I put the "middle"'s parent
>directory
>into sys.path
>
>I can comment out the line that inserts "../../" into sys.path in
>GenVideo.py and "from middle.video import video" still works.


So maybe we should
   - dispense with the temporary sys.path ../ style enhancement
   - require that the sys.path/PYTHONPATH include the path of either the 
objects or the package
   - encourage via the docs the use of Package in order to reduce name 
collisions with other Python modules, including the std library, servlets, etc.

Comments anyone?


-Chuck


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to