Ask Your Question
0

File IO in Notebook

asked 2012-11-28 21:21:24 +0100

EthanIowa gravatar image

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.

edit retag flag offensive close merge delete

Comments

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.

stevediaz gravatar imagestevediaz ( 2024-01-17 13:57:16 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-11-28 21:30:14 +0100

Jason Grout gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-11-28 21:21:24 +0100

Seen: 409 times

Last updated: Nov 28 '12