You may be able to use Run Program() to launch Python to accomplish this in JMP 12. There's a good paper from Discovery Summit Europe 2016 with good examples for how to use Run Program.
However, JMP 14 is a complimentary upgrade for users with an Annual License. You should speak to your license administrator about getting JMP 14. If you don't know who that is send me a private message and I'll be able to assist you.