STINNER Victor <[EMAIL PROTECTED]> added the comment: It's not a bug. Please read the documentation of the split() method: http://docs.python.org/library/stdtypes.html#str.split
If you want to get the value after "=", use: value = line.split("FILE=", 1)[1] or: value = line[len('FILE='):] or: value = line.partition('FILE=')[2] or: etc. ---------- nosy: +haypo resolution: -> invalid status: open -> closed _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4054> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com