Ask Your Question

Revision history [back]

Problem when reading file

Hi,

I am new to sage and there is a simple thing that does not work. I am working in GAP using the Sage notebook. I uploaded a file, called test.txt. Now, I want to run it into my worksheet. I select GAP, then run

Read("DATA+'test.txt'"); m1:=[[E(3),0],[0,E(3)^2]]; m:=Group(m1); Supfast(m,[m1]);

Where Supfast is a function defined in test.txt. I know that the program works because it works when I just copy/paste the code in test.txt. But it does not work when I want to read the file. What is the problem? Thanks in advance!