摘要: 今天在python的运行框里分别输入import datetime.datetime 和 from datetime import datetime,本以为结果应该是一样,结果前者却报错。>>> import datetime.datetimeTraceback (most recent call last): File "<stdin>", line 1, in <module>ImportError: No module named datetime>>> 明明官方tutorial上说这两种都行,只好借助万能的 阅读全文
posted @ 2012-07-30 18:31 Phoenix_Zhao 阅读(595) 评论(1) 推荐(0)