On 22/07/18 14:53, Sharan Basappa wrote: > Thanks. I initially thought about this but did not know if this is legal > syntax.
In this kind of situation – you think you know how to do something but you're not quite sure if it'll work as intended – just try it! Start up an interactive interpreter, or write a test script (as you appear to have done). If it doesn't work, that's fine. No harm done. Also, please use Python 3. -- https://mail.python.org/mailman/listinfo/python-list