Skip to content

Commit 319a2a8

Browse files
Add comments for filesystem example
1 parent bc2c693 commit 319a2a8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,10 @@ print(f'FINAL RESPONSE BY THE MODEL:\n{final_response["message"]["content"]}')
331331

332332
### Filesystem
333333

334+
This example shows how to use Judge0 Python SDK to:
335+
1. Create a submission with additional files in the filesystem which will be available during the execution.
336+
2. Read the files after the execution which were created during the execution.
337+
334338
```python
335339
import judge0
336340
from judge0 import Filesystem, File, Submission
@@ -355,6 +359,7 @@ submission = Submission(
355359
)
356360

357361
result = judge0.run(submissions=submission)
362+
358363
print(result.stdout)
359364
print(result.post_execution_filesystem.find("./my_dir2/my_file2.txt"))
360365
```

0 commit comments

Comments
 (0)