1
Segaran의 프로그래밍 집단 지능 PyPy의 Windows 버전을 사용하고 있습니다.PyPy reload (...) 오류
작성자는 점차적으로 예제 this을 작성 중입니다. 첫째로, 사전로드 :
from recommendations import critics
recommendations.py 후 새로운 기능을 부가함으로써 수정된다. 내가 대신이 오류가
reload(recommendations)
대신 성공적으로 재 장전 :
>>>> reload(recommendations)
Traceback (most recent call last):
File "<console>", line 1, in <module>
NameError: global name 'recommendations' is not defined
내가 뭔가 잘못하고 있습니까 독자는 다음과 모듈을 다시로드하도록되어?
감사합니다. 나는'수입 권고안 '을했는데 효과가 있었다. – geca