我想知道有人可以帮助我在 WinPython 中设置 IPython Qt 控制台启动位置吗?我认为在 ipython 中执行此操作的方法是修改 ipy_user_conf.py 并添加 os.chdir(my_path),但是我在 WinPython 中找不到 ipy_user_conf.py。
非常感谢!
-肖恩
请您参考如下方法:
$ ipython locate
If you want some code to be run at the beginning of every IPython session with a particular profile, the easiest way is to add Python (.py) or IPython (.ipy) scripts to your <profile>/startup directory.
