I writed simple code for test, how much files may be open in python script:
for i in xrange(2000): fp = open(\'files/file_%d\' % i, \'w\') fp.write(s
The append is needed so the garbage collector does not clean up and close the files