"james <at> hal-pc.org" wrote in news:[EMAIL PROTECTED]:
> "james <at> hal-pc.org" wrote: >> the entire 26 character string from site A, but [1] how do i >> crop it to 10 characters. > > [1] still at a loss on this one, but i can get to it later, > unless you've got any ideas. strings are slicable: >>> s='a string of characters' >>> s[:10] 'a string o' >>> s[-10:] 'characters' >>> As far as your other problem, it might make sense(I don't know...) to just generate the post request for saving the new password yourself and never bother with parsing/filling the form. max -- http://mail.python.org/mailman/listinfo/python-list