반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 리눅스
- IQN
- AI
- path-style
- Save
- daemon.json
- python pip
- pip3 upgrade
- 용량
- capacity
- ollama
- python3
- Python
- LLM
- docker
- modelfile
- Volumes
- virtual-hosted-style
- 버전
- GGUF
- 핍
- Linux
- 패키지
- error
- FileSystemError
- nginx-proxy
- HuggingFace
- 퍼이썬
- reverse-proxy
- 파이썬
Archives
- Today
- Total
목록피클 (1)
chargingport

import pickle dict = {'A': 1, 'B': 2, 'C': 3} # dictionary를 dictionary.pkl에 저장 with open("dictionary.pkl", "wb") as output_file: pickle.dump(dict, output_file) # dictionary.pkl을 dictionary로 저장 with open("dictionary.pkl", "rb") as input_file: newDict = pickle.load(input_file) print(newDict) $ python3 main.py {'A': 1, 'B': 2, 'C': 3}
NOTES/PYTHON
2023. 9. 5. 11:12