how to create a big list of list

§ä´M¦Û¤vªº¤@¤ù¤Ñ command.bbs at alexbbs.twbbs.org
Fri Jun 5 02:16:06 EDT 2009


if i want to create a list of list which size is 2**25

how should i do it?

i have try [ [] for x in xrange(2**25) ]

but it take too long to initial the list

is there any suggestion?

Thanks a lot!

--
※Post by command       from 59-124-255-226.HINET-IP.
老鼠的香香乳酪洞˙電子佈告欄系統˙alexbbs.twbbs.org˙140.113.166.7



More information about the Python-list mailing list