
On 19 September 2014 11:12, David Zuccaro <david.zuccaro@optusnet.com.au> wrote:
I have been learning python and I have recently written a little program that creates Hilbert curves which I submit to this list for critique and review:
Hi David I suggest the Python Tutor mailing list https://mail.python.org/mailman/listinfo/tutor which has an excellent community that usually responds thoroughly to review requests of this nature. You also need to state which Python version you are using. Ideally it should be 3.4 for new code, or 2.7 if you wish to use version 2 for some reason, perhaps for compatibility with your imported modules. And make sure to send text-only message (not html) because html does not preserve whitespace reliably. I suggest renaming your local variable to something other than 'dir' because in the scope where that name is rebound it will prevent access to the 'dir' Python builtin function, see help(dir). Not that this affects your program but it is something to avoid generally. Cheers David