mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 ae4d27eba7
			
		
	
	
		ae4d27eba7
		
			
		
	
	
	
	
		
			
			Adds a mechanism to test browser-based initialisation of the Python interpreter, via a Playwright headless browser instance.
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			895 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			895 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html>
 | |
| <html>
 | |
|     <head>
 | |
|         <title>Emscripten PyRepl Example</title>
 | |
|         <link
 | |
|             rel="stylesheet"
 | |
|             href="https://unpkg.com/xterm@4.18.0/css/xterm.css"
 | |
|         />
 | |
|         <style>
 | |
|              body {
 | |
|                  background-color: #300a24;
 | |
|              }
 | |
| 
 | |
|              .xterm-dom-renderer-owner-1 .xterm-fg-3 {
 | |
|                 color: #c4a000 !important;
 | |
|             }
 | |
| 
 | |
|             .xterm-dom-renderer-owner-1 .xterm-fg-6 {
 | |
|                 color: #2aa1b3 !important;
 | |
|             }
 | |
| 
 | |
|             .xterm-dom-renderer-owner-1 .xterm-fg-12 {
 | |
|                 color: #1054a6 !important;
 | |
|             }
 | |
| 
 | |
|             .xterm-dom-renderer-owner-1 .xterm-fg-13 {
 | |
|                 color: #a347ba !important;
 | |
|             }
 | |
|         </style>
 | |
|     </head>
 | |
|     <body>
 | |
|         <div id="terminal"></div>
 | |
|         <script type="module" src="src.mjs"></script>
 | |
|     </body>
 | |
| </html>
 |