1
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.

Python3 > モジュールのリロード > importlib.reload(demo)

Last updated at Posted at 2018-04-09

@ Scipy lecture notes, Edition 2017.1
https://www.scipy-lectures.org/_downloads/ScipyLectures-simple.pdf
https://scipy-lectures.org/_downloads/ScipyLectures-simple.pdf (2019-05-12現在)

p34

Warning: Module caching
...
In Python3 insteaad of reload is not builtin, so you have to import the importlib module first and then do:

In [10]: importlib.reload(demo)

cachingによる失敗は何度かしている。

link

1
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
1
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?