Try $
. It will substitute the python variable.
!rm -r $name
You may need to use $name\.txt
or {name}.txt
in some cases.
Try $
. It will substitute the python variable.
!rm -r $name
You may need to use $name\.txt
or {name}.txt
in some cases.