How can I access files that my python is creating?  

so inside a python i got something like:

```
from pathlib import Path
p = Path('my_file.txt')
p.write_text('testing')
print("Testing done")

```

then when i do `bazel run my_file` i can see in terminal text that all went well and info from print, but when i am trying to find my\_file.txt there is nothing. So what do i need to do with my rules to be able to access that file after bazel run is done?