| 1 | initial version |
Note that
sage: gap("19+5")
24
so feeding a string to the gap interface tries to interpret it as input. With gap.FileString, this will probably happen with the string you want to write to a file as well. In any case, writing this long string in python to a file by transferring it to a gap process is rather inefficient anyway. It's much better to write the string into a file straight from python and then read that file into GAP using the gap routine you would like to use.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.