简体   繁体   English

Python列表大小限制

[英]Python List size limitation

As I am new to python could any one tell me what is the maximum memory size that a list in python can accommodate. 由于我是python新手,所以谁能告诉我python中的列表可以容纳的最大内存大小是多少。 a = [1,2,3,45] For instance let size of 'a' be 10 bytes. a = [1,2,3,45]例如,假设'a'的大小为10个字节。 So I would like to know how many such bytes can be the maximum limit for the list. 所以我想知道多少个字节可以成为列表的最大限制。 Does it in anyway depend on RAM? 无论如何,它是否依赖于RAM?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM