Hi all,<br><br>I'm puzzled by this code:<br><br># -*- coding: utf-8 -*-<br>from twisted.web.client import reactor<br><br>f = open("test1.txt","w")<br>f.write("html")<br>reactor.run()<br><br>
Then it won't write anything into test1.txt. When I deleted "reactor.run()", it will write contents. It is interesting but I don't know why the reactor blocks file writing.<br><br>Best regards,<br><br>Joson<br>