Is it possible to write an output file from Guestshell Python directly to flash? I've found I can copy files from the linux CLI (/home/guestshell -> /bootflash), but not write directly from Python itself.
file = open("/flash/guest-share/output.txt", "w")
File "script.py", line 4, in <module>
file = open("/flash/guest-share/output.txt", "w")
PermissionError: [Errno 13] Permission denied: '/flash/guest-share/output.txt'
Even when running the script as sudo.
Thanks!