Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Ununtu 10.4 上运行 ipython 并使用 %logstart 记录会话。
我想定义将记录会话的日志文件的路径。目前我的家庭目录中有 ipython_log.py
谢谢
第一个参数%logstart应该是日志文件的路径。例如:
%logstart
%logstart ~/mylog.log
尝试?%logstart阅读有关可用选项的信息。
?%logstart