python web framework8 flask css 파일 연동 하기 / 플라스크 css 파일 적용하기 flask css 파일 연동 / css 파일 적용하기 1. 파일 구조 - static 디렉션 생성 후 css 폴더 안에 test.css를 위치 시키는게 가장 일반적입니다. ├── app.py ├── static │ └── css │ └── test.css └── templates └── main.html 2. main.html 파일에서 테그 안에 아래와 같이 작성합니다. HTML 삽입 미리보기할 수 없는 소스 2023. 3. 21. 주피터노트북 파일을 웹서비스에 끼워 넣기 (flask) 1. 추천 파일 구조 ├── app.py # 플라스크 실행 파일 ├── static # css 파일 구조 ( css 파일 출처 : https://github.com/cbernet/jupyter_web ) │ └── css │ ├── main.css │ ├── notebook.css │ └── pygments │ └── notebook │ └── colorful.css └── templates # html 파일 디렉션 ├── jupyter # 주피터노트북 구동 디렉션 │ ├── Untitled.html # 주피터노트북 html 로 저장 │ └── Untitled.ipynb # html 파일 └── main.html # main 페이지 html 파일 2. 주피터 노트북파일을 html 파일로 저장 - jupt.. 2023. 3. 20. 이전 1 2 다음