Hi : Please look at this code:
>>> 'exe.torrent'.rstrip('.torrent') 'ex' <----- it should be 'exe', why? but this is a right answer: >>> '120.exe'.rstrip('.exe') '120' <------ this is a right value. there is a bug in the rstrip, lstrip there isn't this problem. Kyo. -- http://mail.python.org/mailman/listinfo/python-list