我写的
# -*- coding: utf-8 -*-
def ANdata(key, id, format, nR, start) :
queryUrl = 'http://developer.website.com/api/v4/type/news?api_key=' + key + '&id=' + id + '&format=' + format + '&results=' + nR + '&start=' + start
print "test"
错误是:
^{pr2}$
你看到问题了吗?在
Tags:
在python3中,
print
从关键字改为函数。所以要使用它,你必须把它的参数放在括号里:在python2.x中,它可以使用圆括号,也可以不使用圆括号。在
我还是不知道2.3亩的问题。 但我在改为2.7版本后修复了这个问题。在
相关问题 更多 >
编程相关推荐