9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Bence Fábián" <begnoc@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] Any examples of using the py9p client code?
Date: Wed, 25 Mar 2015 11:12:23 +0100	[thread overview]
Message-ID: <CAOCRf5X8YpH4urZ-Qu0eJWxtpxQ_pJWtGjoN3MP=Y76aFs_6HA@mail.gmail.com> (raw)
In-Reply-To: <CAJSxfmKPO--FQoa939=Y8Q8tX6sXTTKWKUEOwY0L6R9sHLN6yQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]

that doesn't help much if you want to use python though :)

How far did you get Peter? Did you get past the auth stage?
Have you looked into examples/cl.py ?
py9p.Client class should do most of the heavylifting for you.

bence

2015-03-25 9:01 GMT+01:00 Skip Tavakkolian <skip.tavakkolian@gmail.com>:

> it is easy using Go
>
> https://github.com/9fans/go
>
>
> On Wed, Mar 25, 2015 at 12:55 AM <6o205zd02@sneakemail.com> wrote:
>
>> Can anyone point me at an example of using the py9p
>> (http://mirtchovski.com/p9/py9p/ or
>> https://pypi.python.org/pypi/py9p/1.0.8) client code to talk to a
>> server.  I've been playing around with a little bit, but haven't had any
>> luck.
>>
>> More specifically, I would like to use it to write a client that talks
>> to P9P acme.  Is that even possible?  If not is there some other python
>> library that would help?
>>
>>      thanks,
>>      Peter Canning
>>
>>
>>

[-- Attachment #2: Type: text/html, Size: 1839 bytes --]

  reply	other threads:[~2015-03-25 10:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25  7:55 6o205zd02
2015-03-25  8:01 ` Skip Tavakkolian
2015-03-25 10:12   ` Bence Fábián [this message]
2015-03-25 16:24     ` Skip Tavakkolian
2015-03-26  7:28       ` 6o205zd02
2015-03-26  7:54         ` Bence Fábián

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOCRf5X8YpH4urZ-Qu0eJWxtpxQ_pJWtGjoN3MP=Y76aFs_6HA@mail.gmail.com' \
    --to=begnoc@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).