[OT] Disable creation of pyc files in DrPython

Alexander Kapps alex.kapps at web.de
Wed Apr 20 13:57:14 EDT 2011


On 20.04.2011 15:21, craf wrote:
> Hi.
>
> I wonder if anyone uses Python DrPython as editor.
> I need to know if you can disable the creation of
> Pyc files created by the program. In the Geany editor you can
> add the parameter -B, but not if it can in this editor.

I don't know DrPython, but Python itself checks for the 
$PYTHONDONTWRITEBYTECODE environment variable. Perhaps you can run 
DrPython with a command like:

PYTHONDONTWRITEBYTECODE=1 drpython


HTH



More information about the Python-list mailing list