Hi,
Here is the way to create and use a module in Python:
First you have to create a file hello.py
This fact has an impact if you add .py at the end of the name of your file. It becomes a module name !
So you can create another file where you import hello package and called a function presents in the hello.py file.
Have a good day !
MASTERY 14 by aureliemartinette is licensed under a Creative Commons Attribution 4.0 International License.