![jupyter notebook online call text file jupyter notebook online call text file](https://user-images.githubusercontent.com/29915202/42913141-6fb3f2ae-8af3-11e8-9178-e116252f0ffb.png)
To write a backslash in a string, you need to write two backslashes to escape.
#JUPYTER NOTEBOOK ONLINE CALL TEXT FILE WINDOWS#
The path separator in Windows is the backslash \. When running on Windows, you can replace ntpath with os.path.
#JUPYTER NOTEBOOK ONLINE CALL TEXT FILE CODE#
The sample code below is running on Mac using the ntpath module mentioned above. Examples for Windowsįrom here, an example of the operation of the path string in the case of Windows is shown. Since each module has the same interface as os.path, you can change the os.path part of the sample code so far to their module names (such as ntpath).
![jupyter notebook online call text file jupyter notebook online call text file](https://miro.medium.com/max/1376/0*K6z9vxR2suPAJSl4.png)
Take the following path string as an example.