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