+ 3
What is the largest size of file that Python can work with?
Anything that is a single byte larger than your answer should result in an exception with at least one of the following: write() close()
2 Antworten
+ 2
Note, NTFS is 16EiB (Exabytes)* which seems like it would be tricky to test... except this test code seems to have issues earlier.
https://code.sololearn.com/cV414bDIoEE6/?ref=app
* https://en.m.wikipedia.org/wiki/Comparison_of_file_systems#Limits
+ 1
Python has no maximum file size that can be read. You will only be limited by the RAM, operating system or processor of the computer running the code. Remember several programs are running on the RAM already, so once the remaining available space is taken by Python, you can guess what happens!
So, it's not with Python, it's with the computer!