2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

メモ:iPython3でreloadを有効にする。

Posted at

元ネタ:https://ipython.org/ipython-doc/3/config/extensions/autoreload.html

In [1]: %load_ext autoreload

In [2]: %autoreload 2

In [3]: from foo import some_function

In [4]: some_function()
Out[4]: 42

In [5]: # foo.pyを開いてsome_functionが43を返すように変更すると

In [6]: some_function()
Out[6]: 43

Python3に移行する恩恵のひとつかと。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?