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


Groups > comp.lang.python > #64618

Re:Initialise dictionary of dictionary

From Dave Angel <davea@davea.name>
Subject Re:Initialise dictionary of dictionary
Date 2014-01-23 10:34 -0500
Organization news.gmane.org
References <f2f630c9-434c-43c1-bd80-4fadcc552e0a@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.5895.1390491122.18130.python-list@python.org> (permalink)

Show all headers | View raw


 Ayushi Dalmia <ayushidalmia2604@gmail.com> Wrote in message:
> I need to initialise a dictionary of dictionary with float values. I do not know the size of the dictionary beforehand. How can we do that in Python
> 

Do what?  There's no concept of pre-initializing a dictionary, and
 there's no specific limit to its eventual size.

Unsure of what the floats have to do with it. Perhaps you meant
 float KEYS. 

-- 
DaveA

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


Thread

Initialise dictionary of dictionary Ayushi Dalmia <ayushidalmia2604@gmail.com> - 2014-01-23 07:15 -0800
  Re: Initialise dictionary of dictionary Tim Chase <python.list@tim.thechases.com> - 2014-01-23 09:30 -0600
    Re: Initialise dictionary of dictionary Ayushi Dalmia <ayushidalmia2604@gmail.com> - 2014-01-23 21:42 -0800
  Re:Initialise dictionary of dictionary Dave Angel <davea@davea.name> - 2014-01-23 10:34 -0500
  Re: Initialise dictionary of dictionary Tim Chase <python.list@tim.thechases.com> - 2014-01-23 09:41 -0600

csiph-web