Exemplo n.º 1
0
import mypackage
from mypackage.utils import multiply
if __name__ == '__main__':
    print('hello')
    print(multiply(2,3))

Exemplo n.º 2
0
from mypackage.utils import multiply
import mypackage
import inspect
import this
import os

if __name__ == "__main__":
    print("hello")
    print(multiply(2, 4))

print(mypackage)
print(inspect.getfile(this))
print(os.listdir('/anaconda3/lib/python3.7/'))
Exemplo n.º 3
0
from mypackage.utils import multiply

if __name__ == '__main__':
    print(multiply(3, 5))