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
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
I am looking for a way to diff across multiple files; on average around 30
to 60 using python and probably the diff library so that we could see what
is common between all files and sort of ignore the differences.
--
http://mail.python.org/mailman/listinfo/python-list
I am looking for a way given a number of files, say 3, that represent
technical support tickets in the same format to generate regular expressions
for the different fields automatically.
An example from of one line from each file:
Date: 12/30/2008 Room: 457 Building: Main
Date: 12/31/2008 Room: A2