You are not logged in.

#1 2007-12-10 19:06:31

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 770

Python and large files

I'm trying to unrar some large files (>2gb) as part of a  python script and I keep getting a "File too large" error.  I'm not 100% certain but it looks like this might be a limitation of python.

Is anyone aware of an arch package for python with support for large files?  Or how I could tweak the PKGBUILD to build my own via abs...?

Offline

#2 2007-12-10 22:15:51

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Python and large files

Can the filesystem they're on handle it?

Check if there's any ./configure options for python to enable large file support that we may have missed, just grab the python source, and do "./configure --help|less" to have a look

Offline

Board footer

Powered by FluxBB