1
python 3.1.x에서 doc 문자열을 어떻게 인쇄합니까?
re 및 sys 모듈을 테스트 해 보았는데 오류가 계속 발생합니다. 감사합니다Python 3의 docstrings 인쇄
import re
print(re._doc_)
Traceback (most recent call last):
File "<pyshell#91>", line 1, in <module>
print(re._doc_)
AttributeError: 'module' object has no attribute '_doc_'
감사합니다. 이중 밑줄을 놓쳤습니다. – cloud311