On Tue, Jul 8, 2008 at 6:55 PM, eleanor <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I'm very new to Sage, but I've worked a bit with python, numpy etc.
> I'm using the VMware version under windows XP.
>
> I'm trying to access existing work on my windows hard drive and on a
> server. I've figured how to read and write data from text files
> outside the vmware system, but I'm still working on accessing existing
> python code.
>
> Say I've got a module test.py in c:\mywork\ , how do import it into a
> sage notebook. I guess its got something to do with a PYTHONPATH
> variable somewhere, but where and how?
>

This is not possible.  You won't be able to do this until we have a native
port of Sage to windows.  We are working on one; it is one of the top
priorities for this year.   The Sage distribution is a total of 5 million lines
of code, so this is a fairly nontrivial undertaking.

In the meantime you could copy your module test.py into the vmware
virtual machine and import it there (i.e., it would be in the virtual
machine's linux filesystem).

 -- William

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to