Newt wrote: > > Silly question: > > From a command line, how do I create pyc files? I know I can do it from > within IDLE, but I want to use a different editor (for other languages). This just worked for compiling file "logger.py" in my temp folder: python -c "import py_compile as p; p.compile('c:/temp/logger.py')" -Peter