小编gar*_*000的帖子

Python:PyCharm坏了吗?或者我可能会被打破?或两者?

PyCharm社区版3.4.1运行Python 2.7.8.简单代码:

def test(x):
    print x

d={'test': test}
d['test'](5)
Run Code Online (Sandbox Code Playgroud)

d['test'](5)
Run Code Online (Sandbox Code Playgroud)

'空无法调用'

在shell中,此代码执行无错误.

python pycharm

5
推荐指数
1
解决办法
203
查看次数

标签 统计

pycharm ×1

python ×1