Qiita Conference 2025

ミノ駆動 (@MinoDriven)

プロフェッショナルとしての成長──「問題の深掘り」が導く真のスキルアップ

1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Python Bottle Hello World

Last updated at Posted at 2018-09-23

bottleは、Python用高速、軽量のWSGIレームワークです。単一のファイルモジュールでPython標準ライブラリ以外の依存関係はありません。簡単にWeb Serverを構築できます。 WSGI Web Server Gateway Interface

(所要時間10分)

Hello.py
from bottle import *
@route("/")
def route():
    return'<h1 align="center">hello world</h1>'
run(host="192.168.1.10",port=911)

「Stupid Phone」から http://192.168.1.10:911 アクセスする。
20180923_130457.png

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Conference 2025 will be held!: 4/23(wed) - 4/25(Fri)

Qiita Conference is the largest tech conference in Qiita!

Keynote Speaker

ymrl、Masanobu Naruse, Takeshi Kano, Junichi Ito, uhyo, Hiroshi Tokumaru, MinoDriven, Minorun, Hiroyuki Sakuraba, tenntenn, drken, konifar

View event details
1
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?