I have a problem that I can’t access a file with python even though the file is there and I can access it manually.
The following code is the problem:
f = '~/backup/backup_20121216.log'
text = open(f, "rb").read()
print text
Someone can point me into the right direction?
Does this work?