Hello, I would like to create a file T.sage or T.txt, say, with lines like
T(0)=(1,2,3,4) T(1)=(5,6,7,8) or possibly T(0)=((1,2),(3,4),(5)) T(1)=((6,7),(8,9),(10)) (or each line just a tuple or tuple of tuples, etc.) and be able consider this as defining T as function from range(0..q) to tuples(or lists) by inserting in some other file F.sage, say, a line like load "T.sage" or using open, readlines(), and close() on T.txt . Can this be done? Thanks in advance, Walter Kehowski --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
