Re: Import Replacement

2009-01-31 Thread Gabriel Genellina
En Sat, 31 Jan 2009 18:22:54 -0200, Gary Herron escribió: James Pruitt wrote: Imagine there are two files horse.py and buffalo.py. horse.py is imported by another file rider.py. Is it possible to make it so that under certain circumstances possibly based on an environment variable or somethi

Re: Import Replacement

2009-01-31 Thread Gary Herron
James Pruitt wrote: > Imagine there are two files horse.py and buffalo.py. horse.py is > imported by another file rider.py. Is it possible to make it so that > under certain circumstances possibly based on an environment variable > or something similar that when rider.py imports horse.py, it actual

Import Replacement

2009-01-31 Thread James Pruitt
Imagine there are two files horse.py and buffalo.py. horse.py is imported by another file rider.py. Is it possible to make it so that under certain circumstances possibly based on an environment variable or something similar that when rider.py imports horse.py, it actually imports buffalo.py sort o

Import Replacement

2009-01-31 Thread James Pruitt
Imagine there are two files horse.py and buffalo.py. horse.py is imported by another file rider.py. Is it possible to make it so that under certain circumstances possibly based on an environment variable or something similar that when rider.py imports horse.py, it actually imports buffalo.py sort o