Python -> octave script