Skip to content

Commit 07a59b6

Browse files
borisliuswaroopch
authored andcommitted
fix typo
1 parent 4857053 commit 07a59b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ We use three modules from the standard library - the `os` module for interacting
4747

4848
First, we check which operating system we are using by checking the string returned by `platform.platform()` (for more information, see `import platform; help(platform)`). If it is Windows, we figure out the home drive, the home folder and the filename where we want to store the information. Putting these three parts together, we get the full location of the file. For other platforms, we need to know just the home folder of the user and we get the full location of the file.
4949

50-
We use the `os.path.join()` function to put these three parts of the location together. The reason to use a special function rather than just adding the strings together is because this function will ensure the full location matches the format expected by the operating system. Note: the `join()' method we use here that's part of the `os` module is different from the string method `join()` that we've used elsewhere in this book.
50+
We use the `os.path.join()` function to put these three parts of the location together. The reason to use a special function rather than just adding the strings together is because this function will ensure the full location matches the format expected by the operating system. Note: the `join()` method we use here that's part of the `os` module is different from the string method `join()` that we've used elsewhere in this book.
5151

5252
We configure the `logging` module to write all the messages in a particular format to the file we have specified.
5353

0 commit comments

Comments
 (0)