You most probably know that the HTML DOM is language-independent !! (first sentence on wikipedia)
As Python is (quoted from wikipedia too) -->Python is a high-level, general-purpose programming language. Its design philosophy emphasizes code readabilityI guess it make the perfect candidat to be implemented in Gecko\Firefox !
Hopefully thing like https://brython.info exist but there are just workaround and rely themself on a .js script to run 😕
Rick ( C-137 )
Thanks for submitting an idea to the Mozilla Connect community! Your idea is now open to votes (aka kudos) and comments.