In addition to Kamikaze47's, there is another way of doing it; the traditional way.

Set them one by one.

like,

GPIO.0 = PATT.0
GPIO.1 = PATT.1
GPIO.2 = PATT.2
GPIO.5 = PATT.3

This will be so fast that your stepper can not react to the line changes.
Thus, Stepper will be running normally as if you were driving it at one shot.


---------------------