I don't understand what you're trying to do. But I think you have fixed
your problem:

Hongyi Zhao <hongyi.z...@gmail.com> writes:

> It seems the above code will do the job for me.

If I understand correctly this sentence, you now have a satisfactory
solution. Good!

-- 
 \         “A man must consider what a rich realm he abdicates when he |
  `\                       becomes a conformist.” —Ralph Waldo Emerson |
_o__)                                                                  |
Ben Finney

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to