conflict between my package and os standard module

Thomas Wouters thomas at xs4all.net
Mon Jan 17 03:51:08 EST 2000


On Sun, Jan 16, 2000 at 07:42:24PM +0000, Jan Decaluwe wrote:

> For now, I would go for the renaming option (that's what I did.)

Dont forget that you can replace:

import os # you want the 'enhanced' os, you get the standard one
os.mygetuser(...)

with:

import myproj_os
os = myproj_os

To avoid rewriting too much code. (add a 'del myproj_os' if you want to
avoid pollution.)

Laat-als-dank-voor-'t-aangenaam-verpozen-...-ly y'rs :)
-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list