python -m py_compile lib/ylpy.py
python -m py_compile lib/ylpy.py
How a python .py file called classes and functions to another .py file
A.py file:
-
def add(x,y):
-
Print ( 'and is:% d'% (x + y))
B.py file:
-
import A
-
A.add(1,2)
-