load_pickle
-
說明:讀取 pickle 檔案。
-
參數
- path (
Union[str, Path]
):pickle 檔案的路徑。
- path (
-
傳回值
- dict:pickle 檔案的內容。
-
範例
import docsaidkit as D
path = '/path/to/your/pickle'
data = D.load_pickle(path)
print(data)
# >>> {'key': 'value'}
說明:讀取 pickle 檔案。
參數
Union[str, Path]
):pickle 檔案的路徑。傳回值
範例
import docsaidkit as D
path = '/path/to/your/pickle'
data = D.load_pickle(path)
print(data)
# >>> {'key': 'value'}