---
title: Flaskで色々作ってみたpdf
tags: 
author: [tynkou](https://www.docswell.com/user/2607549797)
site: [Docswell](https://www.docswell.com/)
thumbnail: https://bcdn.docswell.com/page/GJWGWQD672.jpg?width=480
description: https://okayama-revengers.connpass.com/event/397974/の発表資料です。
published: October 11, 26
canonical: https://www.docswell.com/s/2607549797/ZJWY3X-2026-10-11-174934
---
# Page. 1

![Page Image](https://bcdn.docswell.com/page/GJWGWQD672.jpg)

Flaskで色々作ってみた
北川晃大


# Page. 2

![Page Image](https://bcdn.docswell.com/page/4EZL5WGR73.jpg)

自己紹介
名前:北川晃大
所属:岡山県立岡山操山中学校
得意な言語:Python


# Page. 3

![Page Image](https://bcdn.docswell.com/page/Y76W9GY17V.jpg)

Webフレームワーク「Flask」
Webフレームワーク→Webアプリを作る時の枠組み
PythonのWebフレームワーク
・Django - 拡張性が高い
・Flask - シンプル、処理が高速
・FastAPI - API開発向き
など


# Page. 4

![Page Image](https://bcdn.docswell.com/page/G75MNVGL74.jpg)

Flaskの使い方


# Page. 5

![Page Image](https://bcdn.docswell.com/page/9J2953Y3ER.jpg)

制作物1:新快速の停車駅クイズ


# Page. 6

![Page Image](https://bcdn.docswell.com/page/DEY4K1G8JM.jpg)

制作物1:新快速の停車駅クイズ
htmlから入力を受け取る
入力から出力を考える
htmlを読み込む


# Page. 7

![Page Image](https://bcdn.docswell.com/page/VJNYR2G978.jpg)

制作物2:AtCoderの問題文の検索


# Page. 8

![Page Image](https://bcdn.docswell.com/page/YE9PM1W3J3.jpg)

制作物2:AtCoderの問題文の検索
1.Webスクレイピングで、事前にデータベースを作っておく
2.そこから検索する


# Page. 9

![Page Image](https://bcdn.docswell.com/page/GE8DL4NLED.jpg)

制作物2:AtCoderの問題文の検索
xserverにデプロイし公開（http://xs043884.xsrv.jp/atcoder/index.cgi/）
定期的にコマンドを実行できる「Cron設定」でデータベースを更新


# Page. 10

![Page Image](https://bcdn.docswell.com/page/LELML6PQ7R.jpg)

制作物2:AtCoderの問題文の検索
友達「解法は問題文じゃなくて解説の方に載っているからこれでは不便」
自分「解説文からも検索できるようにしよう」


# Page. 11

![Page Image](https://bcdn.docswell.com/page/4JMYM52KJW.jpg)

制作物2:AtCoderの問題文の検索
https://atcoder.jp/contests/abc478/editorial/26498←規則性わからない
https://atcoder.jp/contests/abc478/editorial←規則性がわかる
❌問題ごとの個別の解説
⭕コンテストの解説一覧


# Page. 12

![Page Image](https://bcdn.docswell.com/page/PJR9V3M679.jpg)

制作物2:AtCoderの問題文の検索
今後の展望
kenkoooo氏が開発したAPI
（https://github.com/kenkoooo/AtCoderProblems/blob/main/doc/api.md）を用いて
・正解した問題を除外
・ある言語で解いた問題を別の言語でもう一度


# Page. 13

![Page Image](https://bcdn.docswell.com/page/PEXQZ4VDJX.jpg)

ありがとうございました
githubアカウントはこちら(今回のコードも載ってます)
https://github.com/tynkou


