在python用import或者from...import來導入相應的子產品。
将整個子產品(somemodule)導入,格式為:<code>importr somemodule</code>
從某個子產品中導入某個函數格式為:<code>from somemodule import somefunction</code>
從某個子產品中導入多個函數,格式為:<code>from somemodule import firstfunc,secondfunc,thirdfunc</code>
将某個子產品中的全部函數導入,格式為:<code>from somemodule import\*</code>
如果真的不知道做什麼 那就做好眼前的事情吧 你所希望的事情都會慢慢實作...