You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Book in _sources/Files/FindingaFileonyourDisk.rst (master branch) says
Note that Python pathnames follow the UNIX conventions (Mac OS is a UNIX variant), rather than the Windows file pathnames that use : and \\. The Python interpreter will translate to Windows pathnames when running on a Windows machine; you should be able to share your Python program between a Windows machine and a MAC without having to rewrite the file open commands.
which is not exactly correct:
windows itself can understand both / and \
requires DRIVE: prefix for full paths
worthwhile to point to pathlib module shipped with python3
The text was updated successfully, but these errors were encountered:
Book in _sources/Files/FindingaFileonyourDisk.rst (master branch) says
Note that Python pathnames follow the UNIX conventions (Mac OS is a UNIX variant), rather than the Windows file pathnames that use
:
and\\
. The Python interpreter will translate to Windows pathnames when running on a Windows machine; you should be able to share your Python program between a Windows machine and a MAC without having to rewrite the file open commands.which is not exactly correct:
/
and\
DRIVE:
prefix for full pathsworthwhile to point to
pathlib
module shipped with python3The text was updated successfully, but these errors were encountered: