When starting the python kernel, the current working directory should be set relative to the path of the file loaded, not relative to the opencodeblocks program.
This means that when doing:
print(open("data.txt").read())
data.txt should be located next to the .ipyg file, not next to the opencodeblocks folder.
When starting the python kernel, the current working directory should be set relative to the path of the file loaded, not relative to the opencodeblocks program.
This means that when doing:
data.txtshould be located next to the.ipygfile, not next to theopencodeblocksfolder.