$ ipython profile create
- $HOME/.ipython/profile_default の下にファイルが作成される
- ipython_config.py を編集
- c.InteractiveShellApp.exec_lines に必要なモジュール読み込みを文字列で記述する。
## lines of code to run at IPython startup.
c.InteractiveShellApp.exec_lines = [
'import sys',
'import os',
'import re',
'import shutil',
'import pathlib',
'import csv',
'import json',
'import lxml',
'import xml.etree as etree',
'import itertools',
'import functools',
'import collections',
'import pyperclip'
]