File IO in Notebook
Hi,
I'm using the Sage Notebook in Windows, with Sage running on a virtual machine. I want read/write files on my Windows machine within Sage. Is this possible?
Thanks.
Hi,
I'm using the Sage Notebook in Windows, with Sage running on a virtual machine. I want read/write files on my Windows machine within Sage. Is this possible?
Thanks.
I think the easiest way to do it is to set up a "shared folder" in the virtual machine. That is a folder that both the virtual machine and Windows can see.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2012-11-28 21:21:24 +0100
Seen: 409 times
Last updated: Nov 28 '12
SAGE server using VMware bundle
Notebook List Object Data Storage/Retrieval? (Start/Restart)
Short Cython Example In A Notebook Cell?
What happens in insecure mode?
Is notebook() mutually-exclusive from "./sage -gdb" mode?
Can I pause a computation rather than aborting it? (Interrupt Command)
What state is preserved when I close a running notebook browser window?
To read and write files on your Windows machine within Sage running on a virtual machine, set up shared folders between the virtual machine and Windows. Configure shared folders in the virtual machine settings, start the virtual machine, and access the shared folder from Sage. Once connected, use standard Python file operations to read and write files. Be mindful of security considerations and refer to your virtualization software documentation for specific setup instructions.