lundi 29 mai 2017

importing python module for development

I would like to know what is the best way to work on an existing python module with anaconda for new version development.

Is it possible to have to different paths: one where standard anaconda is stored, and one where the dev of the new version is done; And with a simple python command select wich files to select to dev and test ?

# std command
from my_module import function_x 

# module development command
import2( 'my_file', 'function_x')

# or better way ... ?

So I could have the standard import command and then overwrite the python env so it will look for function_x in my dev environnment. Is that the usual way or there is a standard frame to do that ?

Aucun commentaire:

Enregistrer un commentaire