Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #99180
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: How To Create A Endles List Of Lists In Python...??? |
| Date | Fri, 20 Nov 2015 11:29:11 -0700 |
| Lines | 26 |
| Message-ID | <mailman.16.1448044194.2291.python-list@python.org> (permalink) |
| References | <n2miu8$fl4$1@ls237.t-com.hr> <n2nkdd$mns$2@dont-email.me> <c83d0ce8-9855-4afa-9efe-f9bfe9b78931@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de m3EUmeGeCmtxvMdctguttA4t4aTCptubq9C0BeNTi1MQ== |
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.046 |
| X-Spam-Evidence | '*H*': 0.91; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'subject:How': 0.09; 'python.': 0.11; 'useful,': 0.13; 'cc:name:python': 0.16; 'lisp': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'true:': 0.16; 'wrote:': 0.16; 'memory': 0.17; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'appears': 0.23; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'fri,': 0.27; 'question': 0.27; 'message- id:@mail.gmail.com': 0.27; 'appending': 0.29; 'solution,': 0.29; 'up.': 0.32; 'run': 0.33; 'subject:List': 0.33; 'lists': 0.34; 'received:google.com': 0.35; 'list:': 0.35; 'nov': 0.35; 'express': 0.35; 'but': 0.36; 'received:209.85': 0.36; 'child': 0.36; 'subject:: ': 0.37; 'two': 0.37; 'thanks': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'anything': 0.38; 'your': 0.60; 'email addr:gmail.com': 0.62; '2015.': 0.63; 'different': 0.63; '20,': 0.66; 'denis': 0.84; 'email name:denismfmcmahon': 0.84; 'mcmahon,': 0.84; 'nagy': 0.84; 'subject:Lists': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BUs6gq7N3dFx5WJyzXmyUa71XuvyLvH2/fIUJ5k2aBs=; b=h9aOkKUt5fFkcK/TkRE8u/XoQtDLFNLvEFRamKGZ98CYiFUVsMFFskkZY8BPXHhnGt fK/45uSs56DZUeQY2+AIq69yrVjYgqmYNHZuhtKAqQMSmI+fp6ASHGnXj/vLDsStPwmf iHTU6WJzspy62KTv2BKI4SqpcuSUUNsCuPcDE1080I9VgwnYi5iJ2AKFKpRDRviEtYi3 thPkGO9Wl8mrolRAtR0UgHUFSQDa4Mco4cpzJahUw6Ca4aD6p9L0gY6CGp8iL2uwdNoa TGydD8IXEKHfrRUptXU3KaJ1PdmHZAYtsQYuzVD2RTeoRlvq4GU21mWK7A3ajf74okv+ tSUQ== |
| X-Received | by 10.50.12.42 with SMTP id v10mr3254906igb.85.1448044190476; Fri, 20 Nov 2015 10:29:50 -0800 (PST) |
| In-Reply-To | <c83d0ce8-9855-4afa-9efe-f9bfe9b78931@googlegroups.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:99180 |
Show key headers only | View raw
On Fri, Nov 20, 2015 at 11:16 AM, <robert.bralic@si.t-com.hr> wrote: > Dana petak, 20. studenoga 2015. u 18:16:52 UTC+1, korisnik Denis McMahon napisao je: >> On Fri, 20 Nov 2015 08:43:04 +0100, HKRSS wrote: >> >> > Thanks In Advance, Robert...;) >> >> Just keep appending child lists to parent list: >> >> l = [] >> >> while True: >> l.append([]) >> >> Until you run out of memory >> >> But I think that this answer although it appears accurate to the question >> is not a solution for anything useful, because it will just use all the >> memory up. So perhaps you need to express your question in a better >> manner. >> >> -- >> Denis McMahon, denismfmcmahon@gmail.com > > I Think That LISP Is Only Solution, I Wil Give Up Frpm Python... Nagy and Chris gave you two different perfectly good solutions for Python.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How To Create A Endles List Of Lists In Python...??? "HKRSS" <hkrss@gmail.com> - 2015-11-20 08:43 +0100
Re: How To Create A Endles List Of Lists In Python...??? "HKRSS" <hkrss@gmail.com> - 2015-11-20 09:13 +0100
Re: How To Create A Endles List Of Lists In Python...??? Peter Otten <__peter__@web.de> - 2015-11-20 09:53 +0100
Re: How To Create A Endles List Of Lists In Python...??? "HKRSS" <hkrss@gmail.com> - 2015-11-20 12:00 +0100
Re: How To Create A Endles List Of Lists In Python...??? Nagy László Zsolt <gandalf@shopzeus.com> - 2015-11-20 14:06 +0100
Re: How To Create A Endles List Of Lists In Python...??? robert.bralic@si.t-com.hr - 2015-11-20 05:29 -0800
Re: How To Create A Endles List Of Lists In Python...??? Chris Angelico <rosuav@gmail.com> - 2015-11-21 00:09 +1100
Re: How To Create A Endles List Of Lists In Python...??? Grant Edwards <invalid@invalid.invalid> - 2015-11-20 15:58 +0000
Re: How To Create A Endles List Of Lists In Python...??? srinivas devaki <mr.eightnoteight@gmail.com> - 2015-11-20 23:58 +0530
Re: How To Create A Endles List Of Lists In Python...??? srinivas devaki <mr.eightnoteight@gmail.com> - 2015-11-21 00:05 +0530
Re: How To Create A Endles List Of Lists In Python...??? Denis McMahon <denismfmcmahon@gmail.com> - 2015-11-20 17:14 +0000
Re: How To Create A Endles List Of Lists In Python...??? robert.bralic@si.t-com.hr - 2015-11-20 10:16 -0800
Re: How To Create A Endles List Of Lists In Python...??? Ian Kelly <ian.g.kelly@gmail.com> - 2015-11-20 11:29 -0700
Re: How To Create A Endles List Of Lists In Python...??? Chris Angelico <rosuav@gmail.com> - 2015-11-21 05:30 +1100
Re: How To Create A Endles List Of Lists In Python...??? sohcahtoa82@gmail.com - 2015-11-20 11:26 -0800
csiph-web