Note
Click here to download the full example code
Plotting greetingsΒΆ
Example using your package
Out:
Helper show method
Hello Maria!
Morning Damien!
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # Libraries
from pkgname.utils.display import show
from pkgname.core.greetings import Hello
from pkgname.core.greetings import Morning
# -------------------------------------
# Constants
# -------------------------------------
# -------------------------------------
# Main
# -------------------------------------
# Execute show
show()
# Create instances
h = Hello()
m = Morning()
# Greet
h.greet(name='Maria')
m.greet(name='Damien')
|
Total running time of the script: ( 0 minutes 0.002 seconds)