A Module is created as a Script file, which contains function definitions that can be called in two ways: From the interpreter From another script file or from another function How to import What is process. You can just save the below script as fact.fy In interpreter... >>> import fact >>>fact.factorial(5) 120 # This program illustrates the designing/creation of a module def