How to execute cmd/python code from blueprint?

I am trying to create a txt file using cmd.
Does anyone know how to do it.