how to match a regulas expresion like (%i1) in python pexpect
- by mike
I want to use maxima from python using pexpect, whenever maxima starts it will print a bunch of stuff of this form:
$ maxima
Maxima 5.27.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.57-1.fc17
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug…