Ejemplo n.º 1
0
import p01 as aa

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

Ejemplo n.º 2
0
from p01 import student, SayHello

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

stu = p01.student("xiaoxiao", 19)
stu.say()
p01.SayHello()
Ejemplo 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)
Ejemplo n.º 5
0
from p01 import student, sayhello

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

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

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