import sys
print(sys.platform)
print(2**100)
raw_input()
我使用的是Python 3.1,无法让raw_input
"冻结"dos弹出窗口.我正在读的这本书是针对Python2.5的,我正在使用Python3.1
我应该怎么做才能解决这个问题呢?
import sys
print(sys.platform)
print(2**100)
raw_input()
我使用的是Python 3.1,无法让raw_input
"冻结"dos弹出窗口.我正在读的这本书是针对Python2.5的,我正在使用Python3.1
我应该怎么做才能解决这个问题呢?
从Python 3开始,raw_input()
被重命名为input()
.