What is the best way to create new IPython profile programmatically?
I want to make a script which automatically creates new blank profile for a user and overrides some settings. Using shell I can do this as follows:
$ ipython profile create myprof ... Generating default config file: ~/.ipython/profile_myprof/... $ cp -r my-profile-overrides/* ~/.ipython/profile_myprof/ $ vim ~/.ipython/profile_myprof/ipython_config.py ... make some edits ...
But I want to perform these operations as a part of a bigger python script.