作者greenlinux (GreenLinux)
看板Python
標題[問題]import common_libs 時error
時間Wed Jun 14 10:15:17 2017
請教各位. 我現在在學習 python 做一些運算
在書上的例子有一段: from common_libs import *
但執行時會產生 error: ImportError No module named common_libs
但網上又找不到 common_libs 這個 module..
請教大家有遇到這問題嗎? thanks
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 42.73.92.104
※ 文章網址: https://webptt.com/m.aspx?n=bbs/Python/M.1497406520.A.280.html
1F:推 ntumath: 我也找不到,會不會是這本書作者自己的,可以去看一下那 06/14 11:45
2F:→ ntumath: 本書的github 06/14 11:45
3F:推 HenryLiKing: 你應該是跳著看吧~ 06/14 12:50
4F:推 LessonWang: 我在猜 這裡的common_libs 應該是常見模組的代名詞吧 06/14 17:33
5F:→ LessonWang: 也就是說common_libs = math , fractions , numpy , t 06/14 17:33
6F:→ LessonWang: urtle ...等常見的模組 06/14 17:33
7F:→ Neisseria: 我猜應該是書本作者自已寫的模組 06/14 18:48
8F:→ HenryLiKing: 同意lesson大 感覺是在講解import * 的用法 06/14 20:50
9F:→ greenlinux: 謝謝各位大大回答,我在試試... 06/14 23:02