正在寻找有关Google App Engine的帮助。以下是我的代码中令人反感的部分:
vbNullString
我遇到麻烦的地方是“ from httplib2 import Http”行。我收到以下错误:
hWnd = FindWindow(vbNullString, frm.Caption) ' if used within Form: Me.Caption
我的应用程序目录中有httplib2模块文件。我一直在搜寻,但是似乎没有人遇到这个问题-有人可以帮忙吗?
谢谢!
答案 0 :(得分:1)
请阅读有关MCVEs的信息。看来此问题的MCVE是一行:
从httplib2导入Http
我相信您的问题是您的httplib2模块缺少将来所需的导入。
from __future__ import print_function
将来的导入仅适用于出现它们的模块。没有它,在2.7中,您将获得您得到的回溯。
>>> print(1, 2, end='')
File "<stdin>", line 1
print(1, 2, end='')
^
SyntaxError: invalid syntax