1×
Become a member
to unlock all features
Autoplay

    Reuse Code in Multiple Projects with Python Modules

    pythonpython
    3

    A module is a function extracted to a file. This allows you to import the function and use it in any other code you may write. You’ll learn how to create modules, import them, and make them stand-alone as you learn what if __name__ == “__main__” means in Python.