diff options
Diffstat (limited to 'randtest.py')
-rwxr-xr-x | randtest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/randtest.py b/randtest.py index 1be410e..14a6c97 100755 --- a/randtest.py +++ b/randtest.py @@ -15,11 +15,13 @@ def main(): help='file name to write to', default='test') args = parg.parse_args() + fname = args.file nbytes = args.nbytes #random random.seed(datetime.datetime.now().microsecond) + #file open in byte mode f = open(fname, 'wb') #write the file |