I'm not an expert in python please help me fix the error after installing python portabl 3.3.7 an error appeared in windows os error: there is no file in the directory but the file is in the directory python.exe
import os
import logging
import log_helper
import random
import uuid
import string
import random_utils
logger = log_helper.setup_logger(name="system_fingerpring",
level=logging.INFO,
log_to_file=False)
import os.path
data_folder = os.path.join("C:\programs\PortablePython-3.3.7\App\Puthon", "267.txt")
file_to_open = os.path.join(data_folder, "267.txt")
with open('file276.txt') as file:
self.install_date = file.readline()
the file is in the folder C:\programs\PortablePython-3.3.7\App\Puthon 267.txt in the file a date like 20.07.2020 which the variable should receive "self.install_date ="
thanks in advance