# setup.py
from setuptools import setup, find_packages
setup(
name = 'mylib',
version = '0.1',
author = 'Christopher Andrew Topalian',
packages = find_packages(),
)
####
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting
# __init__.py
from .multiply import multiply
from .divide import divide
####
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting
# divide.py
def divide(a, b):
return a / b
##
if __name__ == "__main__":
print(divide(10, 2))
input('')
####
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting
# multiply.py
def multiply(a, b):
return a * b
##
if __name__ == "__main__":
print(multiply(4, 4))
input('')
####
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting
# usesOurPackage.py
from mylib import multiply, divide
multiplied = multiply(4, 4)
print(multiplied)
divided = divide(10, 2)
print(divided)
####
# Dedicated to God the Father
# All Rights Reserved Christopher Andrew Topalian Copyright 2000-2024
# https://github.com/ChristopherTopalian
# https://github.com/ChristopherAndrewTopalian
# https://sites.google.com/view/CollegeOfScripting