Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
New Python 9P implementation
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kris Maglione  
View profile  
 More options May 18 2009, 10:48 pm
From: Kris Maglione <maglion...@gmail.com>
Date: Mon, 18 May 2009 22:48:57 -0400
Local: Mon, May 18 2009 10:48 pm
Subject: [ANN] New Python 9P implementation
Hi,

I've just released a new Python 9P client implementation. It's
based largely on my r9p library, but is a good bit cleaner and
faster. It has a simple but high level client library and should
be fully thread safe. The serialization code is based on a high
level message specification, so adding new data types is as
straight forward as reading a spec and translating it into
Python. I suspect that that will be useful to at least some
people who want to implement high level IPC on top of 9P.

For the moment, it's bundled with wmii, but I'll release it
separately after it's been thoroughly broken in:

http://code.suckless.org/hg/wmii/file/tip/alternative_wmiircs/python/...

--
Kris Maglione

I believe that when I die I shall rot, and nothing of my ego will
survive.  I am not young, and I love life.  But I should scorn to
shiver with terror at the thought of annihilation.  Happiness is none
the less true happiness because it must come to an end, nor do thought
and love lose their value because they are not everlasting.
        --Bertrand Russell


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
caerwyn  
View profile  
 More options May 29 2009, 4:50 pm
From: caerwyn <caerw...@gmail.com>
Date: Fri, 29 May 2009 13:50:17 -0700 (PDT)
Local: Fri, May 29 2009 4:50 pm
Subject: Re: New Python 9P implementation
Excellent! This is just what I've been wanting. I can now try writing
acme-sac
clients in python...

#!/dis/python26
import pyxp
c = pyxp.Client("tcp!localhost!6666")
f = c.open("/mnt/acme/new/ctl")
l = f.readlines().next()
(id, nt ,nb, isdir, ismod, width, font, tabwidth) = l.split()
bodypath = "/mnt/acme/%s/body" % id
body = c.open(bodypath, 0x02)
body.write("hello, world!")
quit()

Thanks,
Caerwyn

On May 18, 10:48 pm, Kris Maglione <maglion...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »