"source = \"../../../Delft University of Technology/TN2953-P QN Squid Practicum - data/SQUID measurement software.ipynb\"\n",
"shutil.copy2(source, \".\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
%% Cell type:code id: tags:
``` python
importos
importshutil
```
%% Cell type:markdown id: tags:
Using this, we can just make edits to the software in the folder where the students will run it and use this to get a copy of the updated code into the git repo.
%% Cell type:code id: tags:
``` python
os.remove("SQUID measurement software.ipynb")
os.remove("SQUID measurement software.md")
source="../../../Delft University of Technology/TN2953-P QN Squid Practicum - data/SQUID measurement software.ipynb"