On Tue, Aug 15, 2000 at 05:15:07PM +0300, Itamar Shtull-Trauring wrote:
> # Example program
>
> import Freenet
>
> # Start thread running select() loop which handles the Freenet connections
> # for us.
> Freenet.fncore.start(host="localhost", port=19114)
>
> # Create a request object. The actual request will be handled by the thread
> # we launched.
> r = Freenet.messages.RequestKSK("/my/document", htl=17)
>
> # Block until document is loaded - but we could be doing other stuff
> meanwhile,
> # too, instead of blocking.
> r.wait()
>
> print r.get_data().read()
I don't think that it is necessary to break the Freenet module down
into submodules.
--
Travis Bemann
Sendmail is still screwed up on my box.
My email address is really bemann at execpc.com.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 1093 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20000815/cdff8c6a/attachment.pgp>