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: 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: References: <180e238a-2110-41d9-a13f-df3355bd26c4@googlegroups.com> Date: Mon, 16 Dec 2013 02:50:43 +1100 Subject: Re: [newbie] trying socket as a replacement for nc From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Mon, Dec 16, 2013 at 2:35 AM, Jean Dubois 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