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


Groups > comp.lang.python > #32821

Re: delete value in list in indexing

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <d@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.042
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'ascii': 0.07; 'character,': 0.07; 'python': 0.09; 'cc:addr:python-list': 0.10; 'alpha': 0.15; 'english.': 0.15; 'value.': 0.15; 'in-place': 0.16; 'with?': 0.16; 'string': 0.17; 'wrote:': 0.17; 'windows': 0.19; "i'd": 0.22; 'cc:2**0': 0.23; 'specified': 0.23; 'cc:no real name:2**0': 0.24; 'second': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'am,': 0.27; 'question': 0.27; 'subject:list': 0.28; 'character.': 0.29; 'strings,': 0.29; 'types.': 0.29; 'character': 0.29; 'version': 0.34; 'list': 0.35; 'skip:u 20': 0.36; 'characters': 0.36; 'two': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'delete': 0.38; 'received:192': 0.39; 'received:192.168': 0.40; 'end': 0.40; 'lower': 0.61; 'first': 0.61; 'within': 0.64; 'removal': 0.65; 'header:Reply-To:1': 0.68; 'further,': 0.71; 'received:74.208': 0.71; 'reply-to:no real name:2**0': 0.72; 'upper': 0.75; 'amit': 0.84; 'clearer': 0.84; 'subject:value': 0.84
Date Tue, 06 Nov 2012 09:01:33 -0500
From Dave Angel <d@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1
MIME-Version 1.0
To Amit Agrawal <amit.amitagrawal.agrawal@gmail.com>
Subject Re: delete value in list in indexing
References <CAGRy8cJ9YeOBcWeLR1crxHxynP5qqoc_SJWgFuqrK9uvg+SjNg@mail.gmail.com>
In-Reply-To <CAGRy8cJ9YeOBcWeLR1crxHxynP5qqoc_SJWgFuqrK9uvg+SjNg@mail.gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:/N+ORROqTUD8LNjFd3bR604roBTq9+/0qIZKlF0Z7eT 2OZeKLvS882+0rO3Zjm4h3TfK8pIzDdJ8GvWbxpHN1zo6ZvTtl g9DzzjISgzRXy0eTkJmPOkVS4Svs976jY4OKPLTUcNh2LeNdaV F3ldOHzclJ9//urdeplNWk76Q2YzvopU8ABpLjGFTnjSiaCsqv UyBI2aCfxJgeJI8tWgWDtuJuaEYv4Aecoo31qClpsa+9zxxa54 bkXQctuAIfuaPJLaYeRwphk4Q6n4Ptza3sNPoWsSKOUUpyvkMi yVdt4X+CftN3QqAaTboSt8j/k4YEW/Dk1qS3TULYQwMwcnkiw= =
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To d@davea.name
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.3323.1352210522.27098.python-list@python.org> (permalink)
Lines 33
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1352210522 news.xs4all.nl 6988 [2001:888:2000:d::a6]:46054
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32821

Show key headers only | View raw


On 11/06/2012 01:17 AM, Amit Agrawal wrote:
> i want to  delete  list  in upper and lower some specific value
>
>

That question will have to  be rephrased, in clearer English.

What Python version are you using?

What data do you start with, and what data do you want to end up with? 
Be specific with regards to types.

For example, you might be asking:

"I am using Python 2.81, on Windows 9.  I have a program that's got two
strings, the second of which is a single character.  I'd like to produce
a 3rd string which consists of all characters of the first string that
do not match the single character supplied.  Further, if the character
is an ASCII alpha character, I'd like to do it without regards to ASCII
uppercase/lowercase."

or

"I am using ....    I have a program that has a list of ints, and a
single value.  I'd like to do an in-place removal of all numbers that
are within 5 of the specified value."



-- 

DaveA

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


Thread

Re: delete value in list in indexing Dave Angel <d@davea.name> - 2012-11-06 09:01 -0500

csiph-web