OK i programmed that. when i try to open(filename, 'rU') and filename in this case would be "Main.jack" i get
File "JackTokenizer.py", line 6, in <module> class JackTokenizer:
File "JackTokenizer.py", line 19, in JackTokenizer jackFile = open(file, 'rU') filenotfounderror: [Errno 2] no such file or directory: "Main.jack"
but it is there. I can see it. it is in the nand2tetris folder under projects\10\arraytest