Re: Go "help" the perl list instead Fredrik Lundh

2006-05-27 Thread Bruno Desthuilliers
D H a écrit : > Fredrik Lundh wrote: > >> vbgunz wrote: >> I have new a list , when it hava large number of values, I wonna to delete all the values in it,how to do? >>> >>> >>> something like this will probably help. >>> >>> x = [1,2,3,4,5,6,7,8,9] >>> y = x >>> >>> list([x.pop() for z

Re: Go "help" the perl list instead Fredrik Lundh

2006-05-25 Thread Mirco Wahab
Thus spoke D H (on 2006-05-25 23:12): > Fredrik Lundh wrote: >> if you don't know how to do things, you don't need to post. > > He already posted ... Based on your Text, you can (in Perl, of course ;-) extract the Goedel-Number sequence (prime number sequence) of it: use Acme::Goedelize;

Re: Go "help" the perl list instead Fredrik Lundh

2006-05-25 Thread A. Sinan Unur
D H <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > You obviously ignored that and invented some argument that he > posted with malicious intentions. That better describes most of > your thousands of annoying posts. I don't know what describes what you did. What is the point of bringing

Go "help" the perl list instead Fredrik Lundh

2006-05-25 Thread D H
Fredrik Lundh wrote: > vbgunz wrote: > >>> I have new a list , when it hava large number of values, I wonna to >>> delete all the values in it,how to do? >> >> something like this will probably help. >> >> x = [1,2,3,4,5,6,7,8,9] >> y = x >> >> list([x.pop() for z in xrange(len(x))]) >> >> print x