16
導入numpy的之後,可以說我想刪除/刪除numpy的進口參考
import sys
import numpy as np
doMe()
np.something()
#unimport np
#remove numpy from memory
導入numpy的之後,可以說我想刪除/刪除numpy的進口參考
import sys
import numpy as np
doMe()
np.something()
#unimport np
#remove numpy from memory
卸載來自Python is not supported的模塊。
爲什麼你需要這樣做? – 2012-01-08 20:58:15
可能的重複:http://stackoverflow.com/a/487718/1107807 – 2012-01-08 21:03:08