예제 #1
0
파일: p03.py 프로젝트: weininianqing/rr
import p01 as aa

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

예제 #2
0
from p01 import student, SayHello

stu = student("xiaoxiao")
stu.say()
SayHello()
예제 #3
0
import p01

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

sb = student()
sb.say()
sayhello()
예제 #6
0
import p01

stu = p01.student("小佳佳", 20)
stu.sayhello()
p01.say()
예제 #7
0
import p01 as p

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