Re: how to get no value

2009-07-24 Thread Piet van Oostrum
Well actually your subject is `how to get no value'. Your code does that perfectly. :=) -- Piet van Oostrum URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4] Private email: p...@vanoostrum.org -- http://mail.python.org/mailman/listinfo/python-list

Re: how to get no value

2009-07-24 Thread Grant Edwards
On 2009-07-24, amr...@iisermohali.ac.in wrote: > > Hi, > > I have a file having lines:- > > 48 ALA H = 8.33 N = 120.77 CA = 55.18 HA = 4.12 C = 181.50 > 104 ALA H = 7.70 N = 121.21 CA = 54.32 HA = 4.21 C = > 85 ALA H = 8.60 N = CA = HA = 4.65 C = > > Now i want to make two another file in which

Re: how to get no value

2009-07-24 Thread Mark Lawrence
amr...@iisermohali.ac.in wrote: Hi, I have a file having lines:- 48 ALA H = 8.33 N = 120.77 CA = 55.18 HA = 4.12 C = 181.50 104 ALA H = 7.70 N = 121.21 CA = 54.32 HA = 4.21 C = 85 ALA H = 8.60 N = CA = HA = 4.65 C = Now i want to make two another file in which i want to put those lines for w

Re: how to get no value

2009-07-24 Thread Piet van Oostrum
> amr...@iisermohali.ac.in (a) a écrit: >a> Hi, >a> I have a file having lines:- >a> 48 ALA H = 8.33 N = 120.77 CA = 55.18 HA = 4.12 C = 181.50 >a> 104 ALA H = 7.70 N = 121.21 CA = 54.32 HA = 4.21 C = >a> 85 ALA H = 8.60 N = CA = HA = 4.65 C = >a> Now i want to make two another file in wh

Re: how to get no value

2009-07-24 Thread Diez B. Roggisch
amr...@iisermohali.ac.in schrieb: Hi, I have a file having lines:- 48 ALA H = 8.33 N = 120.77 CA = 55.18 HA = 4.12 C = 181.50 104 ALA H = 7.70 N = 121.21 CA = 54.32 HA = 4.21 C = 85 ALA H = 8.60 N = CA = HA = 4.65 C = Now i want to make two another file in which i want to put those lines for

Re: how to get no value

2009-07-24 Thread D'Arcy J.M. Cain
On Fri, 24 Jul 2009 15:50:11 +0530 (IST) amr...@iisermohali.ac.in wrote: > but i am not getting the desired output. Show us what output you got and what you desired. -- D'Arcy J.M. Cain | Democracy is three wolves http://www.druid.net/darcy/| and a sheep voting on +1 4

how to get no value

2009-07-24 Thread amrita
Hi, I have a file having lines:- 48 ALA H = 8.33 N = 120.77 CA = 55.18 HA = 4.12 C = 181.50 104 ALA H = 7.70 N = 121.21 CA = 54.32 HA = 4.21 C = 85 ALA H = 8.60 N = CA = HA = 4.65 C = Now i want to make two another file in which i want to put those lines for which C is missing and another one