name error

3 views
Skip to first unread message

HENG DENG

unread,
May 4, 2015, 9:14:41 AM5/4/15
to sae-p...@googlegroups.com
 class Stafff(Person):
    def _init_(self,name,title):
        Person._init_(self.name)
        self.title=title

    def show_name(self):
        print('{0} {1}'.format(self.title,self.name))

    def change_title(self,title):
        self.title=title


Traceback (most recent call last):   File "D:/Python/def例题.py", line 1, in <module>     from person import person ImportError: No module named 'person'

HENG DENG

unread,
May 4, 2015, 9:15:22 AM5/4/15
to sae-p...@googlegroups.com


在 2015年5月4日星期一 UTC+8下午9:14:41,HENG DENG写道:
这个是什么问题啊??? 
Reply all
Reply to author
Forward
0 new messages