Python 引入模块:import

#Filename:support.py

def print_func(p):
    print("Hello: ",p)
    return

 

#FileName test.py

import support

print('引入support.py中的自定义函数')
support.print_func("Runoob")

posted @ 2022-01-15 20:41  paoPaoLong_liu  阅读(27)  评论(0)    收藏  举报