My flask website not working properly - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: My flask website not working properly (/thread-30711.html) |
My flask website not working properly - Aggam - Nov-02-2020 Hi! I'm making a website (in flask python) to check if ASM code is up to my ASM teacher's standard and am having an issue. It shows the following errors (erros I wrote, not python errors): Which should happen as my ASM code is up to code.but my code is up to code... Do you know why? the asm file index.html code.html app.py check.py edit: The problem appears to be in check.py Thanks for all who replay! RE: My flask website not working properly - buran - Nov-02-2020 didn't look much but there is mismatch with some spaces and new lines try to replace needed withneeded = [ "DATASEG\n; --------------------------\n; Your variables here\n; --------------------------\n", "start:\n mov ax, @data\n mov ds, ax\n; --------------------------\n; Your code here\n; --------------------------\n" ]also in check.py line 23 you want to check for needed[1]
RE: My flask website not working properly - Aggam - Nov-03-2020 (Nov-02-2020, 07:05 PM)buran Wrote: didn't look much but there is mismatch with some spaces and new lines Thanks! Now I only get the "you dont have 'your code here' comment / not in the right place.<br />" but ill try to fix that |