how to create module in python
Answers
Explanation:
To create a module just save the code you want in a file with the file extension .py :
To create a module just save the code you want in a file with the file extension .py :Save this code in a file named mymodule.py. ...
To create a module just save the code you want in a file with the file extension .py :Save this code in a file named mymodule.py. ...Import the module named mymodule, and call the greeting function: ...
To create a module just save the code you want in a file with the file extension .py :Save this code in a file named mymodule.py. ...Import the module named mymodule, and call the greeting function: ...Save this code in the file mymodule.py. ...
To create a module just save the code you want in a file with the file extension .py :Save this code in a file named mymodule.py. ...Import the module named mymodule, and call the greeting function: ...Save this code in the file mymodule.py. ...Import the module named mymodule, and access the person1 dictionary: