Hello, world¶ Pyramid をインストールしたら、 hello.py という名前のファイルで以下のようなスクリプトを作成してみましょう。 python hello.py と実行すると、 http://localhost:8080/ でこのアプリケーションにアクセスできます。 hello.py: from paste.httpserver import serve from pyramid.config import Configurator from pyramid.response import Response def hello_world(request): return Response('Hello world!') if __name__ == '__main__': config = Configurator() config.add_view(hello_