[sage-support] Re: Calling Sage on Windows from external scripts

2023-12-02 Thread David Ayotte
If you have Python script running locally on Windows, you could call the sage script by doing something like: import os os.system('wsl sage your-sage-script.sage') See this page: https://learn.microsoft.com/en-us/windows/wsl/filesystems for more about Windows-Linux interoperability. D

[sage-support] Calling Sage on Windows from external scripts

2023-12-02 Thread Sean Fitzpatrick
I am wondering if anyone has experience installing Sage on Windows via WSL, and calling Sage as an executable from another program that's installed locally on Windows. My particular use case is processing Sage plot images in a PreTeXt document. I could install everything for PreTeXt via WSL but