Exemple #1
0
# pylint: disable=missing-function-docstring, missing-module-docstring/
import user_mod
import user_mod2

test = user_mod.user_func(1.,2.,3.) + user_mod2.user_func(4.,5.)

print(test)
def fun(xi1, xi2, xi3):
    import user_mod
    return user_mod.user_func(xi1, xi2, xi3)
def fun(xi1, xi2, xi3):
    from user_mod import user_func
    return user_func(xi1, xi2, xi3)
Exemple #4
0
def fun(xi1, xi2, xi3):
    return u.user_func(xi1, xi2, xi3)
Exemple #5
0
def fun(xi1, xi2, xi3):
    import user_mod as u
    return u.user_func(xi1, xi2, xi3)
Exemple #6
0
# pylint: disable=missing-function-docstring, missing-module-docstring/
import user_mod

user_func = user_mod.user_func(1., 2., 3.)

print(user_func)