Gelin Yan
2015-07-27 11:17:12 UTC
Hi All
When I tried to run a simple twisted program and noticed there was an
error as following:
File "C:\Python34\lib\site-packages\twisted\python\lockfile.py", line 52,
in <module>
_open = file
NameError: name 'file' is not defined
simply replace file as open like
_open = open
can run the program.
Is it a bug?
Regards
gelin yan
When I tried to run a simple twisted program and noticed there was an
error as following:
File "C:\Python34\lib\site-packages\twisted\python\lockfile.py", line 52,
in <module>
_open = file
NameError: name 'file' is not defined
simply replace file as open like
_open = open
can run the program.
Is it a bug?
Regards
gelin yan