반응형
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
- 리눅스
- daemon.json
- path-style
- python pip
- pip3 upgrade
- FileSystemError
- python3
- capacity
- Volumes
- LLM
- reverse-proxy
- 핍
- GGUF
- error
- nginx-proxy
- Save
- Linux
- IQN
- virtual-hosted-style
- 파이썬
- docker
- 퍼이썬
- Python
- 패키지
- AI
- HuggingFace
- 버전
- 용량
- modelfile
- ollama
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