본문 바로가기

chargingport

검색하기
chargingport
프로필사진 chargingport

  • 분류 전체보기 (18)
    • NOTES (17)
      • STORAGE (2)
      • PYTHON (7)
      • LINUX (3)
      • ETC (5)
Guestbook
반응형
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
  • capacity
  • reverse-proxy
  • 핍
  • 리눅스
  • pip3 upgrade
  • Save
  • error
  • GGUF
  • 파이썬
  • modelfile
  • AI
  • ollama
  • virtual-hosted-style
  • 버전
  • FileSystemError
  • docker
  • 패키지
  • nginx-proxy
  • path-style
  • Volumes
  • Python
  • python3
  • python pip
  • LLM
  • 용량
  • daemon.json
  • Linux
  • 퍼이썬
  • IQN
  • HuggingFace
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록api 만들기 (1)

chargingport

Flask 활용한 API 만들기

# teacher.json [ { "id": 1, "name": "John Doe", "class": "English" }, { "id": 2, "name": "Jack Black", "class": "Music" }, { "id": 3, "name": "Eminem", "class": "Music" }, { "id": 4, "name": "John Doe", "class": "Music" } ] from flask import Flask, jsonify, request import json app = Flask(__name__) # Load the tea data from the JSON file with open('teacher.json', 'r') as file: teachers = json.loa..

NOTES/PYTHON 2023. 9. 18. 16:43
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바