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