Your question is very vague, but basically, you're going to have to do it by hand. A Google search on this topic has plenty of discussion, although you're welcome to bring up anything more here if you wish.
Join the #python-forum IRC channel on irc.freenode.net for off-topic chat!
Please prefer not to PM members. The point of the forum is so that anyone can benefit. We don't want to help you over PMs/emails/Skype chats that others can't benefit from