#綁定方法:綁定給誰就應該誰來調用,誰來調用就會把誰當做第一個參數自動傳入 import setting #配置文件爲setting class mysql: def __init__(self,host,port):