Skip to content
Snippets Groups Projects
Commit ea7f6bcc authored by Dejan Golubovic's avatar Dejan Golubovic
Browse files

Delete test-writing-to-eos-pipeline.ipynb

parent ccd483fe
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:imports
``` python
import os
```
%% Cell type:code id: tags:functions
``` python
def setup_krb():
krb_cred = ***
with open('/tmp/krb5cc_0', 'wb') as to_write:
to_write.write(krb_cred)
os.chmod("/tmp/krb5cc_0", 0o600)
os.system('klist')
```
%% Cell type:code id: tags:block:list_eos
``` python
setup_krb()
print('eos')
print(os.listdir("/eos"))
print('/eos/user/d/dgolubov')
print(os.listdir('/eos/user/d/dgolubov'))
```
%% Cell type:code id: tags:block:write_to_eos,prev:list_eos
``` python
setup_krb()
with open('/eos/user/d/dgolubov/pipeline_file.txt', 'w') as to_write:
to_write.write('Testing Dejan')
with open('/eos/user/d/dgolubov/pipeline_file.txt', 'r') as to_read:
print(to_read.read())
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment