javascript:brython

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
javascript:brython [2019/08/06 23:01] ともやんjavascript:brython [2020/04/16 04:04] (現在) ともやん
行 1: 行 1:
-<ifauth !@loggedinusers><html> 
-<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> 
-<script> 
-     (adsbygoogle = window.adsbygoogle || []).push({ 
-          google_ad_client: "ca-pub-0791334967460971", 
-          enable_page_level_ads: true 
-     }); 
-</script></html></ifauth> 
-====== Brython - クライアントサイドの Web プログラミング用 Python 3 の実装 ====== 
 <html> <html>
-<style> +  <style> 
-#brython_logo { +    @font-face { 
-    background-color: #0f1b07+      font-family: 'libra_bt'; 
-    width135px+      src: url(/fonts/libra_bt.ttf); 
-} +    } 
-</style> +    #brython_logo { 
-<div id="brython_logo"> +      background-color: #e0ddde
-</html> +      color#2a4494
-{{:javascript:brython_logo.png?135|Brython Logo}}\\ +      text-decoration: none; 
-<html> +      font-family: libra_bt; 
-</div>+      font-size: 3em; 
 +      width: fit-content; 
 +      padding0 10px; 
 +    } 
 +    #brython_logo p { 
 +      margin: 0; 
 +    
 +  </style>
 </html> </html>
 +====== Brython - クライアントサイドの Web プログラミング用 Python 3 の実装 ======
 +<WRAP #brython_logo>
 +Brython
 +</WRAP>
 本家: [[https://brython.info|Brython]]\\ 本家: [[https://brython.info|Brython]]\\
 ソースコード: [[https://github.com/brython-dev/brython|GitHub - brython-dev/brython: Brython (Browser Python) is an implementation of Python 3 running in the browser]]\\ ソースコード: [[https://github.com/brython-dev/brython|GitHub - brython-dev/brython: Brython (Browser Python) is an implementation of Python 3 running in the browser]]\\
行 39: 行 41:
 <textarea id="code" class="codearea" style="width: 100% !important;" rows="20"></textarea> <textarea id="code" class="codearea" style="width: 100% !important;" rows="20"></textarea>
 <script type="text/python3" src="/_media/javascript/brython/console.py" id="__main__"></script> <script type="text/python3" src="/_media/javascript/brython/console.py" id="__main__"></script>
-</html> +<script src="/_media/javascript/brython/brython.js?cache=-1defer></script> 
-<html> +<script src="/_media/javascript/brython/brython_stdlib.js?cache=-1defer></script>
-<script src="/_media/javascript/brython/brython.js"></script> +
-<script src="/_media/javascript/brython/brython_stdlib.js"></script>+
 <script> <script>
 jQuery(function(){ jQuery(function(){
行 49: 行 49:
 </script> </script>
 </html> </html>
 +\\
 +\\
 +HTML ソースコード\\
 +<code html>
 +<html>
 +  <head>
 +    <style>
 +      .codearea {
 +        background-color: #000;
 +        color: #fff;
 +        font-family: 'Oxygen Mono', Consolas, 'Liberation Mono', 'DejaVu Sans Mono', monospace;
 +        font-size: 14px;
 +        overflow: auto;
 +        width: 100%;
 +        height: 100%;
 +      }
 +    </style>
 +  </head>
 +  <body>
 +    <textarea id="code" class="codearea" rows="20"></textarea>
 +    <script type="text/python3" src="/_media/javascript/brython/console.py" id="__main__"></script>
 +    <script src="/_media/javascript/brython/brython.js" defer></script>
 +    <script src="/_media/javascript/brython/brython_stdlib.js" defer></script>
 +    <script>
 +      jQuery(function(){
 +        brython({'debug':1});
 +      });
 +    </script>
 +  </body>
 +</html>
 +</code>
 +
  • javascript/brython.1565100086.txt.gz
  • 最終更新: 2019/08/06 23:01
  • by ともやん