How would i go about converting raptor code into python code?
There won't be a straight forward method of converting every piece of Raptor code into Python code. The way to do it is to look at each line and find functions and methods that make the equivalent of the Raptor code. Effectively, you are rewriting your program around the same logic.
SgtMe has it spot on, although I have no idea what raptor is I'm going to say its best to draw a flow chart of your existing program then start from scratch in python... google helped me alot when re-writing a vb6 app in python