Skip to content

Commit f3620aa

Browse files
committed
Updating the notebooks
1 parent 34d7c64 commit f3620aa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

chapters/chap13.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1601,8 +1601,12 @@
16011601
"source": [
16021602
"def replace_all(old, new, source_path, dest_path):\n",
16031603
" # read the contents of the source file\n",
1604+
" reader = open(source_path)\n",
1605+
"\n",
16041606
" # replace the old string with the new\n",
1605-
" # write the result into the destination file"
1607+
" \n",
1608+
" # write the result into the destination file\n",
1609+
" "
16061610
]
16071611
},
16081612
{

0 commit comments

Comments
 (0)