<\/p>\n
To create a python module you first have to create a new python program (in this case masteries.py<\/strong>) which contains functions (in this case hw() and gb())<\/p>\n <\/p>\n Then, in order to use the module’s functions in another program you use import<\/strong><\/em> (name of the program)<\/strong><\/p>\n After you have imported your module you can now use it’s functions by writing the name of the module (masteries) followed by a point and the name of the function inside that module (.hw() or .gb()) <\/p>\n This will show the user:<\/p>\n Hello World (for hw()<\/strong>) and<\/p>\n Good bye (for gb()<\/strong>) (as shown in the picture above)<\/p>\n #TC1014<\/a><\/p>\n #mastery14<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" To create a python module you first have to create a new python program (in this case masteries.py) which contains functions (in this case hw() and gb())Then, in order to use the module’s functions in another program you use import (name of th… Continue reading