Discuss / Python / 请问在sublime里面定义的函数,怎样才能在python.exe里面调用呢?

请问在sublime里面定义的函数,怎样才能在python.exe里面调用呢?

Topic source

3嘿嘿3_0

#1 Created at ... [Delete] [Delete and Lock User]
#-*- codinng:utf-8 -*-
def my_abs(x):
    if x >=0:
        return x
    else:
        return -x

  • 1

Reply