You could set the PYTHONPATH
as a global environment variable pointing to your Production code, and then in any shell in which you want to use the Development code, change the PYTHONPATH
to point to that code.
(Is that too simplistic? Have I missed something?)