On 2006-12-02, Michel Claveau <[EMAIL PROTECTED]> wrote: > Hi! > > Yes. > > But... > > Try: d = {'a': 1, 'b': 2, 'def': 123} > > Ok, I go out...
How to convert a list of strings into a list of integers: a = ['82', '4', '16'] ai = [int(i) for i in a] Yes. But... Try: a = ['82', '4', '16', 'foo'] Ok, I go out... -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list