[root@Sybil ~]#python3
Python 3.9.8(main, Mar 232022,21:03:31)[GCC 4.8.520150623(Red Hat 4.8.5-44)] on linux
Type "help","copyright","credits"or"license"for more information.>>> list1 =[]>>>for i inrange(2000):... list1.append(open('/root/tangtang'))...
Traceback (most recent call last):
File "<stdin>", line 2,in<module>
OSError:[Errno 24] Too many open files:'/root/tangtang'>>>