What is the maximum file size we can open using Python?

PythonServer Side ProgrammingProgramming

There is no reachable maximum on the size of a file Python can open. People regularly load gigabytes of data into memory. Depending on your computer's RAM and whether it's 64- or 32- bit OS/processor, the practical maximum for you may be anywhere from 1 GB up before you get a MemoryError. Python has no problems with large strings, until you hit the limit of your RAM, operating system, or processor.

Updated on 30-Jul-2019 22:30:20