How to save .meas results in a text file using PyQSpice?

We just had a discussion few days ago about using system command. Please review if it help. In general, you can search this forum if similar question has been asked.