added fondation for interactive mode in python