Le 10/04/2011 04:09, John Connor a écrit :
Actually this is all it takes: import keywords print keywords.kwlist
>>> import keywords Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named keywords >>>so I considered first it was a joke ! ;) In fact the import doesn't need plural, and... Python is very very introspective ;)
Thanks and thanks to Steven too. -- http://mail.python.org/mailman/listinfo/python-list