#python - Sun 29 Apr 2007 between 12:44 and 13:05



ironfroggywho said anything about a linked list?
JBond2before Perl 6?
sounds that Perl 6 is hopeless?
losing its way to release out a production?
ironfroggyJBond2: 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.
JBond2I 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?
ironfroggylook at twisted?
JBond2asynchronous means, non-blocking, mutliple download task can be happen at same time.
Juhazpycurl
JBond2could someone suggest one library suitable for the purpose?
high level library for understanding http protocol, will be highly benfit
JafetHTTP is overlaid on TCP/IP, which is a synchronous protocol.
kbrooksJafet, is it really?
JBond2from brief introduction, twisted library like a wrapper of socket.
kbrooksJBond2, 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
Jafetkbrooks: To the best of my knowledge, yes.
kbrooksd is a Deferred, which has to be given a callback with addcallback.
JafetShould we kick you for not using pastebin?
kbrooksnow, the reactor has to run in order for everything to work.
Jafet, haha
dukezhi
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.
CokeI 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?
SpCombanyone happen to have something that turns IRC-style (CTCP) formatting stuff (bold, colours, etc) into HTML?
JafetShould be easy to roll your own, I expect.
Probably BBCode like.
hyljehm, how can i escape random characters to the \x0000 notation?

Page: 5 12 19 26 33 40 47 54 61 68 75 

IrcArchive