diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 18:39:07 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2024-07-13 18:39:07 -0400 |
commit | 564efc6d76e2f61f8a0421182701161321339582 (patch) | |
tree | a0f3bd62c40c07c69f7a212d695b19d563765c56 /qolab/file_utils/__init__.py | |
parent | 52bfae2b52b76186e61e9d5555fb5bfe021d29d9 (diff) | |
download | qolab-564efc6d76e2f61f8a0421182701161321339582.tar.gz qolab-564efc6d76e2f61f8a0421182701161321339582.zip |
better doc string
Diffstat (limited to 'qolab/file_utils/__init__.py')
-rw-r--r-- | qolab/file_utils/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qolab/file_utils/__init__.py b/qolab/file_utils/__init__.py index ab674ae..8d403e8 100644 --- a/qolab/file_utils/__init__.py +++ b/qolab/file_utils/__init__.py @@ -134,7 +134,10 @@ def save_table_with_header( - None : no compression (default) - gzip : gzip method of compression - bzip : bzip2 method of compression - compresslevel : 9 (default) the highest compression, 0 no compression at all, as it is defined for gzip in Lib/gzip.py + compresslevel : 0 to 9 (default) + Compression level as it is defined for gzip in Lib/gzip.py + - 0 : no compression at all + - 9 : the highest compression (default) match_filename_to_compression: True (default) or False If True changes the filename suffix in accordance with compression method, e.g. 'data.dat' -> 'data.dat.gz' if compression is set to 'gzip', |