Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix up paths description for windows #10

Open
yarikoptic opened this issue Jan 29, 2019 · 0 comments
Open

fix up paths description for windows #10

yarikoptic opened this issue Jan 29, 2019 · 0 comments

Comments

@yarikoptic
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant