edits the python environment