I am trying to use netlify as host for my pythonlabs project (doing python stuff in browser, client side via brython), however:
It simply breaks my python code by appending a line just containing: ;
Which makes my script fail with “syntax error”.
Also netlify adds an .js extension to the python script, instead of using the .py extension.
So, how to prevent netlify from modifying .py files?
Here is the site that breaks for that reason: https://pythonlabs.netlify.com/console.html
Looks into your browsers console and you’ll see the problem!