On Wed, 20 May 2015 17:14:15 +0530, Parul Mogra wrote:
> Hello everyone,
> My objective is to create large amount of data files (say a million
> *.json files), using a pre-existing template file (*.json). Each file
> would have a unique name, possibly by incorporating time stamp
> information. The files have to be generated in a folder specified.
> What is the best strategy to achieve this task, so that the files will
> be generated in the shortest possible time? Say within an hour.
timestamps are normally unixtime in seconds. There are 3600 seconds in an
hour. You'll have a hard job creating a million files with timestamp
based naming inside of an hour.
--
Denis McMahon, [email protected]
--
https://mail.python.org/mailman/listinfo/python-list