I can't read a big file because of MemoryError. Other answers suggest this should work, what may be the problem?
The whole code is this
#Separador de RAMAS.csv por rama
import csv
archivo_original = open('RAMAS.csv')
print archivo_original.readline()
And the error I get is this
Traceback (most recent call last):
File "Separador_CSV.py", line 4, in <module>
print archivo_original.readline()
MemoryError
file.read(size_in_bytes)to read the file (and super-long lines) in chunks?file.readlinedoes not seem to split on\r. If you created that file with another Python script, better create it again with\ninstead of\r, then it should work.