Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any PySheets sheet runs in the PyScript context and can access the JavaScript window and DOM. Therefore, you can use the browser to access the file system: https://developer.mozilla.org/en-US/docs/Web/API/FileSystem.

Alternatively, you could create a form to "upload" a specific file, but instead of uploading it, read the bytes from the PySheet's cell function.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: