Beispiel #1
0
import p01

stu = p01.Student("wang", 25)
stu.say()
p01.sayhello()
Beispiel #2
0
from p01 import Student, sayhello

stu = Student()
stu.say()

sayhello()
Beispiel #3
0
# --*coding=utf-8*--
import p01 as p

stu = p.Student()
stu.say()
p.sayhello()