Matlab users frequently save their results to a .mat file that can be opened in another Matlab session for further processing. Using Spyder (available in either WinPython or Anaconda Python distributions), you can do the same.
- Run your Python script and generate the variables.
- Go to variable explorer.
- Click the save button and choose Save As Matlab file.
- You can open this file in Matlab. Happiness!