Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61950

Re: [newbie] trying socket as a replacement for nc

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '16,': 0.03; 'subject:: [': 0.04; 'svn': 0.05; 'linux,': 0.07; 'subject:trying': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'module?': 0.16; 'url:svn': 0.16; 'wrote:': 0.18; 'module': 0.19; 'subject:] ': 0.20; 'seems': 0.21; 'cc:addr:python.org': 0.22; 'directory.': 0.24; 'tells': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'references': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'dec': 0.30; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'code': 0.31; 'too.': 0.31; 'existence': 0.31; 'jean': 0.31; 'run': 0.32; 'received:google.com': 0.35; 'google': 0.35; 'url:org': 0.36; 'being': 0.38; 'files': 0.38; 'that,': 0.38; 'though,': 0.39; 'how': 0.40; 'commands': 0.60; 'new': 0.61; 'simply': 0.61; 'further': 0.61; 'grab': 0.64; 'resulted': 0.84; 'to:none': 0.92; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=v9ydvCebHtPt4NWX3jvmtKUUQ6PCqMaHUoTsSTojE3A=; b=u2jqBNI+4shpFe5WhvrCBrv4ESW70m/pBBxH/6xmkpvDucV+IPgAn3FgfPLaIEpiXI 6d2KRhQcFUcrrLGJ3EGpuD4Ag4svu7G1S7jNT4XuqKcvCtRXEwSNtNKFuEdr3Eve5PQZ 2jzqKDdL+FRKt7+TPj6OivxorEhMkjJvhY08vcZTdtnZLPna1GAsuaLERaIR00sSKuTA deDB502wvaJaDhTL3tcR5Q9gPMCAiWqfHebl/53+eTfj531A4I2IS56ASXKYIU7f320J s4Y+Qkgi3j7vfC9iBCwi01mf0z2UZXFWCYJ0q5xB/F5XSGJ2T14zd79bsJMVdrMXhhmU NW3w==
MIME-Version 1.0
X-Received by 10.66.118.71 with SMTP id kk7mr15188987pab.14.1387122643523; Sun, 15 Dec 2013 07:50:43 -0800 (PST)
In-Reply-To <a95c6412-c2d2-41fc-a963-bdd87b2b0987@googlegroups.com>
References <efae1b3c-c9c5-4ef4-8e94-7fbe8716ab53@googlegroups.com> <mailman.4072.1386948939.18130.python-list@python.org> <180e238a-2110-41d9-a13f-df3355bd26c4@googlegroups.com> <mailman.4130.1387069401.18130.python-list@python.org> <a95c6412-c2d2-41fc-a963-bdd87b2b0987@googlegroups.com>
Date Mon, 16 Dec 2013 02:50:43 +1100
Subject Re: [newbie] trying socket as a replacement for nc
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4142.1387122652.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1387122652 news.xs4all.nl 2834 [2001:888:2000:d::a6]:59973
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61950

Show key headers only | View raw


On Mon, Dec 16, 2013 at 2:35 AM, Jean Dubois <jeandubois314@gmail.com> wrote:
> I'm using Linux, I did the following:
> svn checkout http://stromberg.dnsalias.org/svn/bufsock/
> which resulted in a directory 'bufsock' being added to my home-directory,
> Do I have to run further commands on the files in this directory?
> How do I make Python aware of the existence of this new module?

Have a look in that directory. It seems to simply have a bufsock.py
which is the module to import.

That said, though, you may have to deal with dependencies. The source
code of bufsock.py references a python2x3 module (which Google tells
me is by the same author), so you may need to grab that, too.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [newbie] trying socket as a replacement for nc Jean-Michel Pichavant <jeanmichel@sequans.com> - 2013-12-13 16:35 +0100
  Re: [newbie] trying socket as a replacement for nc Jean Dubois <jeandubois314@gmail.com> - 2013-12-14 05:33 -0800
    Re: [newbie] trying socket as a replacement for nc Dan Stromberg <drsalists@gmail.com> - 2013-12-14 17:03 -0800
      Re: [newbie] trying socket as a replacement for nc Jean Dubois <jeandubois314@gmail.com> - 2013-12-15 07:35 -0800
        Re: [newbie] trying socket as a replacement for nc Chris Angelico <rosuav@gmail.com> - 2013-12-16 02:50 +1100
        Re: [newbie] trying socket as a replacement for nc Dan Stromberg <drsalists@gmail.com> - 2013-12-15 13:14 -0800

csiph-web