From | Sent On | Attachments |
---|---|---|

Fall In Love with Sage | Feb 5, 2009 11:11 am | |

David Joyner | Feb 5, 2009 11:28 am | |

Fall In Love with Sage | Feb 5, 2009 11:48 am | |

David Joyner | Feb 5, 2009 11:54 am | |

Fall In Love with Sage | Feb 5, 2009 12:10 pm | |

Marshall Hampton | Feb 6, 2009 2:42 am | |

Jason Grout | Feb 6, 2009 2:45 am | |

Marshall Hampton | Feb 6, 2009 3:31 am |

Subject: | [sage-support] Re: How can you read a .txt/csv file in Sage? | |
---|---|---|

From: | David Joyner (wdjo...@gmail.com) | |

Date: | Feb 5, 2009 11:28:37 am | |

List: | com.googlegroups.sage-support |

Possibly I'm not understanding your English. Python can read in any text file, for example csv. So, the answer to your question seems to be in the thread you cited.

Also, if you want to know which directory Sageroot is, type SAGE_ROOT. For example:

sage: SAGE_ROOT '/home/wdj/sagefiles/sage-3.3.alpha1'

Hope this helps.

On Thu, Feb 5, 2009 at 2:11 PM, Fall In Love with Sage <cs.l...@gmail.com> wrote:

My .txt/csv -file looks like in Vim: 1,4 2,5 3,6 I can have both filetypes. I am not sure, which one Sage supports.

Open two columns in Sage: - I know that the file needs be at Sageroot. My Sage is installed at ~/ apps/Sage in Mac. Where in ~/apps/Sage do I need to put the file?

This question is based on the following discussions:
1.

http://groups.google.com/group/sage-support/browse_thread/thread/4600e491955f4960
2.

http://stackoverflow.com/questions/494116/how-can-you-move-a-list-from-excel-to-sage/514835#514835

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage...@googlegroups.com
To unsubscribe from this group, send email to

sage...@googlegroups.com
For more options, visit this group at

http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---