SQL2 [Flask] SQLAlchemy 사용하여 학생테이블 출력하기 app.py파일을 실행하면 student_info.db 파일이 생성된다. 12345678910111213141516171819202122!DOCTYPE html>html> body> h3>Students - Flask SQLAlchemy example/h3> hr/> form action = "{{ request.path }}" method = "post"> label for = "name">Name/label>br> input type = "text" name = "name" placeholder = "Name" />br> label for = "city"">City text" name = "city" pl.. 2020. 11. 25. [Flask] SQLite 예제 Flask â SQLite - TutorialspointFlask – SQLite Python has an in-built support for SQlite. SQlite3 module is shipped with Python distribution. For a detailed tutorial on using SQLite database in Python, please refer to this link. In this section we shall see how a Flask application intewww.tutorialspoint.com 1234567891011121314import sqlite3 conn = sqlite3.connect('database.db')print('데이터베이스.. 2020. 9. 24. 이전 1 다음