2012-05-10 | Paul Boddie | file changeset files shortlog | Changed the builtins module loading to use the module search path. This makes it easier to run the test program from another location. Added a note about relative imports. |
paul@216 | 1 | #!/usr/bin/env python |
paul@216 | 2 | |
paul@216 | 3 | l = [1, 2, 3] |
paul@471 | 4 | |
paul@471 | 5 | result_1 = l[0] |
paul@471 | 6 | result_2 = l[1] |
paul@471 | 7 | result_3 = l[-1] |
paul@216 | 8 | |
paul@216 | 9 | # vim: tabstop=4 expandtab shiftwidth=4 |