diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-07-05 05:41:34 -0700 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-07-05 05:41:34 -0700 |
commit | 705ab0555e1c8a8f1a34b61ddd33ab3a4b315f60 (patch) | |
tree | 29c720587297dfe203c8f106f2f0e089fe8a6680 /randtest.py | |
parent | b36620eefa2fd91e695d0e7f11bea34b09c9a43d (diff) |
changed formatijnig
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 |