archive
Module for archiving sets of data
Archive
¤
Bases: Set
Archive class. A file-persistable set.
load(file)
¤
Imports the archive from the file.
Arguments¤
- file: the file name of the archive
Returns¤
- if the file exists
Source code in spotdl/utils/archive.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|
save(file)
¤
Exports the current archive to the file.
Arguments¤
- file: the file name of the archive
Source code in spotdl/utils/archive.py
37 38 39 40 41 42 43 44 45 46 47 48 49 |
|