David Siroky wrote: > When I "compile" my python files with "python -OO ...." into pyo files > then they still contain absolute paths of the source files which is > undesirable for me. How can I deal with that?
Don't do that? Delete the pyo files? Stop using Python? I could guess at a few more possibilities, but since you don't actually say what you *want* to happen, just what you don't want to happen, there are an infinite number of ways to satisfy you right now. <wink> (Hint #1: absolute paths are always, AFAIK, put into the .pyc or .pyo files.) (Hint #2: maybe explaining why you don't want this to happen would help too, since that will probably determine the "best" solution.) -Peter -- http://mail.python.org/mailman/listinfo/python-list