Jump to content


Member Since 24 Sep 2014
Offline Last Active Sep 24 2014 03:17 AM

Topics I've Started

Chapter 4 P128 Modified 'print_lol' Not Importing

24 September 2014 - 03:18 AM

I kept getting 'print_lol is not defined' error when running 'print_lists' program with 'nester' imported. Some testing showed that 'print_lol' was not in scope, so after the 'import nester' line I added 'from nester import print_lol', after which the program worked as expected. Unless I missed something, the book doesn't mention having to do this - should it be necessary?