Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just in case nothing wants to work, here is a way to get closer to the solution:

import os.path

with open(os.path.join('C:\\', 'Users', 'tahah', 'Desktop', 'hihi.txt') as f:
    print(f.read())

Just in case nothing wants to work, here is a way to get closer to the solution:

import os.path

with open(os.path.join('C:\\', 'Users', 'tahah', 'Desktop', 'hihi.txt') 'hihi.txt')) as f:
    print(f.read())