I get a file not found error when trying to run this script
class Account:
def __init__(self, filepath):
with open(filepath, 'r') as file:
self.balance=int(file.read())
account=Account("~/Desktop/Courses/Python/account/balance.txt")
print(account)
balance.txt exists and I am running the script from the directory.