-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
Hi,
Currently, any files generated during code execution in VPL (especially in languages like Python) are not preserved or accessible after the run finishes. This causes major limitations for assignments or exercises involving:
- Saving plots/images using libraries like
matplotlib,cv2, orPIL - Writing logs or output data to files for further inspection
- Reading/writing files as part of a program’s normal behavior
Examples:
- A Python script generates a
.pngimage usingplt.savefig("plot.png"), but the file is not accessible after execution. - A program writes data to a
.txtor.csvfile, but students cannot download or verify the content. - Any workflow involving persistent intermediate output files is essentially broken.
This is especially problematic for courses in data science, computer vision, or file I/O programming.
Suggested improvement:
- Provide a way to persist or download the output files generated by the user’s code during execution.
- For example, any file created in the working directory (or specific whitelist folders) could be shown in the file tree after execution, or be downloadable.
This feature would greatly enhance VPL's usefulness for real-world programming tasks.
Thanks for your work and consideration!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels