You may find either
this or
this might be of use ... the bad news is that the former is Activestate specific and the good news is that the principle recommendations of the latter are, IMHO, ably supported by
this O'Reilly publication.
A user level that continues to overstate my experience :-))