Seenthis
•
 
Identifiants personnels
  • [mot de passe oublié ?]

 

b_b

@b_b
http://blog.eliaz.fr
RSS: b_b
tous les messages de b_b
  • @b_b
    b_b @b_b PUBLIC DOMAIN 26/08/2021
    1
    @gblin
    1

    Brython
    ▻https://brython.info

    Brython is designed to replace Javascript as the scripting language for the Web. As such, it is a #Python 3 implementation (you can take it for a test drive through a web console), adapted to the #HTML5 environment, that is to say with an interface to the #DOM objects and events.

    Du python dans le navigateur...

    <html>
    <head>
       <meta charset="utf-8">
       <script type="text/javascript"
           src="https://cdn.jsdelivr.net/npm/brython@3.9.5/brython.min.js">
       </script>
    </head>
    <body onload="brython()">
    <script type="text/python">
       from browser import document
       document <= "Hello !"
    </script>
    </body>
    </html>

    ▻https://brython.info/static_tutorial/en/index.html

    b_b @b_b PUBLIC DOMAIN
    Écrire un commentaire

thèmes

  • #DOM
  • #HTML5
  • #Python
À propos de Seenthis Propriété intellectuelle Recommandations API