import p01 stu = p01.Student("wang", 25) stu.say() p01.sayhello()
from p01 import Student, sayhello stu = Student() stu.say() sayhello()
# --*coding=utf-8*-- import p01 as p stu = p.Student() stu.say() p.sayhello()