Utility Modules¶
Contents¶
pyavia.util.temp_filename |
Generates a (nearly unique) temporary file name with given prefix and suffix using a hex UUID, truncated to rand_length if required. |
Members¶
Small, general purpose utility functions.
-
pyavia.util.
temp_filename
(prefix: str = '', suffix: str = '', rand_length: int = None)¶ Generates a (nearly unique) temporary file name with given prefix and suffix using a hex UUID, truncated to rand_length if required. This is useful for interfacing with older DOS and FORTRAN style codes which may have specific rules about filename length.