--Originally published at angelmendozas
To create and use you own modules you better code this:
import potato <- You can call you module whatever you want
potato.example (‘hello’) <-Then in parenthesis the output you want it to have
To install it in mac you use this command in the shell:
pip3 install <package>
and the you run your program on the shell and thats it.
It should print ‘Hello’