On Jan 18, 6:42 pm, mark h <[EMAIL PROTECTED]> wrote:
> i want to write some actuarial specifications in Sage. i want to
> create test cases in external files, so that they can also be used for
> the implementation testing.
>
> can i read/write data from external files ?
> can Sage process text ?
Yes and yes. Since Sage is written in Python you can use all of
Python's file functions. See http://www.diveintopython.org/toc/index.html
and specifically http://www.diveintopython.org/file_handling/file_objects.html
> i'm running on win platform. how do i construct path to file to load ?
VMware offers a shared folder - see
http://www.vmware.com/support/ws5/doc/ws_running_shared_folders.html
for details and how to set that up. That way you can access, create
and work with files that are on the Windows side transparently from
Sage. Note that in Sage you need to give the Linux path, not the
Windows one.
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---