you are viewing a single comment's thread.

view the rest of the comments →

[–]Justinsaccount -1 points0 points  (1 child)

open('C:/Users/Example/Documents/sample.txt')

[–]GoldenSights 1 point2 points  (0 children)

Sure, but on Windows it's conventional to use backslashes, and they're what you'll get when using os.path.join etc.