White scenery @showyou, hatena

If you have any comments, you may also send twitter @shsub or @showyou.

wxPython+twisted.web.client.getPage

が動いた。


最初どうしてもgetPage中に画面が固まって困ったのだけど、よく調べたらtwisted使うときはwxApp.MainLoop()を使うんじゃなくてreactor.registerWxApp(app)してreactor.run()を呼ばなきゃ行けない事を知った。


あと非同期処理の追加の仕方がわかってなかったのだけど、d = getClientPage(url)とかやると勝手に登録されるみたいですね(後でソース読む)。これで大分放置してたcrochetの通信問題が解決できるかなぁ。twisted便利。