import OldMacPrint OldMacPrint.fox() Old MacDonald had a farm, Ee-igh, Ee-igh, oh! And on his farm he had a fox , Ee-igh, Ee-igh, oh! With a ringdingding ringdingding here And a ringdingding ringdingding there Here a ringdingding there a ringdingding everwhere a ringdingding ringdingding fox Traceback (most recent call last): File "/Users/ola/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2883, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 1, in fox NameError: name 'fox' is not defined OldMacPrint.fox Out[6]: x Traceback (most recent call last): File "/Users/ola/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/IPython/core/interactiveshell.py", line 2883, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "", line 1, in x NameError: name 'x' is not defined 3 Out[8]: 3