from base.dbhelper import DBHelper

Python中的
from base.dbhelper import DBHelper
是什么意思

就是说从base.dbhelper中引入DBHelper,base是一个python库,dbhelper是这个库下属一系列文件中的一个,DBHelper是其中的函数/类等等,你将其引入,就能在自己的代码中使用DBHelper中的一系列函数等
有帮助望采纳~