Example #1
0
# -*- codeing = utf-8 -*-
# @Time: 2/20/22 8:06 PM
# @Author: YinCY
# @File: t2.py
# @Software: PyCharm

# 引入自定义模块
from test1 import t1
print(t1.add(1 ,2))
Example #2
0
#-*- coding = utf-8 -*-
#@Time: 2020/9/13 9:59
#@Author: Winter
#@File: t2.py
#@Software: PyCharm

#引入自定义的模块
from test1 import t1

#引入系统的模块
import os
import sys

#引入第三方模块
import re

print(t1.add(12, 12))
Example #3
0
from test1 import t1  # 引入自定义模块

import os  # 引入系统模块
import re  # 引入第三方模块

print(t1.add(3, 5))
Example #4
0
#引入自定义模块
from test1 import t1
#引入系统模块
import sys
import os

#引入第三方模块

print(t1.add(4, 6))