namespace collisions

wes weston wweston at att.net
Thu Feb 17 14:49:08 EST 2005


Will McGugan wrote:
> Hi,
> 
> I'm accumulating a number of small functions, which I have sensibly put 
> in a single file called 'util.py'. But it occurs to me that with such a 
> generic name it could cause problems with other modules not written by 
> myself. Whats the best way of handling this? If I put it in a common 
> location in my Python path, should I call it willsutil.py?
> 
> TIA,
> 
> Will McGugan
Will,
   See  http://www.boost.org/libs/python/doc/tutorial/doc/html/python/techniques.html

'about page 30 of google search. It gives an example
that should help.
wes




More information about the Python-list mailing list