Esempio n. 1
0
import p01 as aa

stu = aa.student()
stu.sayhello()

Esempio n. 2
0
from p01 import student, SayHello

stu = student("xiaoxiao")
stu.say()
SayHello()
Esempio n. 3
0
import p01

stu = p01.student("xiaoxiao", 19)
stu.say()
p01.SayHello()
Esempio n. 4
0
import p01 as py
import sys

student = py.student()
student.say()
print(type(sys.path))
print(sys.path)
for p in sys.path:
    print(p)
Esempio n. 5
0
from p01 import student, sayhello

sb = student()
sb.say()
sayhello()
Esempio n. 6
0
import p01

stu = p01.student("小佳佳", 20)
stu.sayhello()
p01.say()
Esempio n. 7
0
import p01 as p

stu = p.student("xiaoxiao")
stu.say()