mardi 2 août 2016

python: IOError: [Errno 36] File name too long:

I want to create a file within tmpfs (under CentOS 6.5) like this: fpath = '/tmpfs_mounted/with/long/file/name' with open(fpath, 'w') as fd: write(somedata) ... But I got the IOError: [Errno 36] File name too long: ... error, How to fix it?

Aucun commentaire:

Enregistrer un commentaire