>> Why not try another directory instead? Like /usr/tmp or whatever.
bt> This introduces a serious security question. The compiler has to
bt> trust the contents of the .pyc file to really be the result of
bt> compiling the .py; if that can be easily violated, people could
bt> easily insert a trojan horse.
How about allowing, via an environment variable/preference setting,
a directory the user defines--e.g., on Unix,
Of course, such may already be possible & I don't know about it...