I've been playing around with Python for some days and I got to the point where I want to put the code of my Python application on the web. Basically the application is all about asking user a question and counting the score based on user's answers [which he types into the application], which later is returned to the user with appropriate comment.
Now I'd like to publish the application to the web. I found Brython but I have problems with getting it to work, being a newbie in Python and a total newbie in JS.
My code in HTML file looks like that:
<html>
<head>
<script type="text/javascript" src="brython.js"></script>
</head>
<body onload="brython()">
<script type="text/python" src="filename.py">
</script>
</body>
</html>
Basically, filename.py and brython.js are in the same catalogue as this HTML file. Unfortunately, the code triggers nothing. How should I proceed further? What should I read or do?
Thanks in advance for any help!