Could you give some example input and output? And you're more likely to get a response if you post an attempt at code, even if it's wrong, so that we can get a base idea for what you do and don't know.
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