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


Groups > comp.lang.python > #31966

Re: Fast forward-backward (write-read)

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dwightdhutto@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.075
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; '%s"': 0.07; 'missed': 0.09; 'cc:addr:python-list': 0.10; 'backward': 0.16; 'received:209.85.216.53': 0.16; 'file.': 0.20; 'cc:2**0': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'wrote': 0.26; 'message-id:@mail.gmail.com': 0.27; 'accidentally': 0.29; 'print': 0.32; 'function.': 0.33; 'received:google.com': 0.34; 'wrong': 0.34; 'received:209.85': 0.35; 'subject: (': 0.36; 'being': 0.37; 'received:209': 0.37; 'received:209.85.216': 0.37; 'subject:: ': 0.38; 'subject:-': 0.40; 'header:Received:5': 0.40; 'real': 0.61; 'forward': 0.66; 'subject:Fast': 0.84; 'subject:read': 0.84; 'subject:write': 0.84
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:to :cc:content-type; bh=bJ56gpF5So7rulFQKOJTnEOZIt7t61EtRBo7YBzccJY=; b=uZKHl5O5S9kLuCKbuJMZP2YcdIDBnQobTD9oFflckxGWZPBHvYp2xIiVuAQmBrN/Px FM6K1As7/3SCfiXnIt8UEULGPg9VEy2WEUYVZ3kYIxtduXu9fW1unmfjIM0+1UTW5Maz 1eeB/j3gIUNiF8cb8Tni34qGOBcvh8ffGBrdb3ELcf3Efxu45menUzLjeZhR+bqhiFmN IQ+wJaYMtgnkVpHofRDgQKTvrcxU3gIJQxFxMiQ3/xJbp3xLHCHVtPw60iKqyoqIl+L0 IUBXv3P0cu7OjAxM2ScWHcy+jNU84CKcJfMShHI9TdVn7NfRc/u5Ka+Z2ud5ub4iOGqy vKEQ==
MIME-Version 1.0
In-Reply-To <CA+vVgJWnAThHhD4cUJzXLGdVojCNA1oV_qKYwa+7UsEqS=x7XQ@mail.gmail.com>
References <5086AA35.4000509@it.uu.se> <CA+vVgJV6feUL0gTPC==3fp3Wq8zvRXgoyhVaUYnZNtMfF8qpLw@mail.gmail.com> <CA+vVgJWnAThHhD4cUJzXLGdVojCNA1oV_qKYwa+7UsEqS=x7XQ@mail.gmail.com>
Date Tue, 23 Oct 2012 18:49:47 -0400
Subject Re: Fast forward-backward (write-read)
From David Hutto <dwightdhutto@gmail.com>
To Virgil Stokes <vs@it.uu.se>
Content-Type text/plain; charset=ISO-8859-1
Cc "python-list@python.org" <python-list@python.org>
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2697.1351032591.27098.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351032591 news.xs4all.nl 6963 [2001:888:2000:d::a6]:53168
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31966

Show key headers only | View raw


> Missed the part about it being a file. Use:
>
> forward =  ["%i = %s" % (i,chr(i)) for i in range(33,126)]
> backward = ["%i = %s" % (i,chr(i)) for i in range(126,32,-1)]
>
> print forward,backward
>
This was a dud, let me rework it real quick, I deleted what i had, and
accidentally wrote the wrong function.

>
>
>
> --
> Best Regards,
> David Hutto
> CEO: http://www.hitwebdevelopment.com



-- 
Best Regards,
David Hutto
CEO: http://www.hitwebdevelopment.com

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


Thread

Re: Fast forward-backward (write-read) David Hutto <dwightdhutto@gmail.com> - 2012-10-23 18:49 -0400

csiph-web