| ironfroggy | who said anything about a linked list? |
| JBond2 | before Perl 6? sounds that Perl 6 is hopeless? losing its way to release out a production? |
| ironfroggy | JBond2: its a bit of a joke. Perl 6 has been in development for years and years and many people doubt it will ever even be released. by the time it does, it will be completel irrelevent. it would seem they dont really care about getting it done. but we're more strict. we set timelines and we're sticking to them. |
| JBond2 | I have a large number or http urls need to download and save to local disk files. is that a python library to do that download and save job in asynchronous way? |
| ironfroggy | look at twisted? |
| JBond2 | asynchronous means, non-blocking, mutliple download task can be happen at same time. |
| Juhaz | pycurl |
| JBond2 | could someone suggest one library suitable for the purpose? high level library for understanding http protocol, will be highly benfit |
| Jafet | HTTP is overlaid on TCP/IP, which is a synchronous protocol. |
| kbrooks | Jafet, is it really? |
| JBond2 | from brief introduction, twisted library like a wrapper of socket. |
| kbrooks | JBond2, and select JBond2, it uses Deferreds from twisted.http.client import getPage d = getPage(...) d.addCallback(foo) def foo(data): print data reactor.run() that's how it works JBond2, see above |
| Jafet | kbrooks: To the best of my knowledge, yes. |
| kbrooks | d is a Deferred, which has to be given a callback with addcallback. |
| Jafet | Should we kick you for not using pastebin? |
| kbrooks | now, the reactor has to run in order for everything to work. Jafet, haha |
| dukez | hi i'd like to know if there are python/swig gurus here ? I'd like to make a generated class marshallable, but I don't know how. Thx. |
| Coke | I have a unicode value I would like to use in the __str__ return value, what is the policy regarding the return encoding of __str__? Should I use the system preferred encoding? |
| SpComb | anyone happen to have something that turns IRC-style (CTCP) formatting stuff (bold, colours, etc) into HTML? |
| Jafet | Should be easy to roll your own, I expect. Probably BBCode like. |
| hylje | hm, how can i escape random characters to the \x0000 notation? |