From be85edde1e2660e44bf6d330827b6112fa86d05b Mon Sep 17 00:00:00 2001 From: mahdidehghandev Date: Tue, 10 Dec 2024 19:06:31 +0330 Subject: [PATCH] Fix: fix file addressing --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index d313a56..e67ab2a 100644 --- a/main.py +++ b/main.py @@ -4,7 +4,7 @@ import matplotlib.pyplot as plt import numpy as np from symbol_table import SymbolTable - +import os def read_file(entry): try: @@ -136,4 +136,4 @@ def main(file_name): if __name__ == "__main__": - main('Examples\\test.txt') + main(os.path.join('Examples','test.txt'))