吡dol Heroku Web应用程序/ API的便捷解决方案。 安装。 pip3 install pydolphin or pip3 install --no-cache git+https://github.com/dolphinorg/pydolphin.git 基本的例子。 import os from flask import Flask from pydolphin import dolphin PORT = int ( os . environ . get ( "PORT" , 6969 )) app = Flask ( __name__ ) @ app . before_first_request def dolphin_start (): dolphin . swim () @ app . route ( '/' ) def index (): re