Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year. Improve this question in PHP I do the following: and the result is: so in python how do i do it? UPDATE Thanks for