File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ < html >
3+ < head >
4+ < meta charset ="utf-8 ">
5+ < script src ="https://raw.githack.com/brython-dev/brython/master/www/src/brython.js "> </ script >
6+ </ head >
7+ < body onload ="brython() ">
8+ < script type ="text/python ">
9+ import browser
10+ browser . alert ( "Hello Real Python!" )
11+ </ script >
12+ </ body >
13+ </ html >
Original file line number Diff line number Diff line change 22< html >
33 < head >
44 < meta charset ="utf-8 ">
5- < script src ="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.9/brython.min.js " async > </ script >
5+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.9/brython.min.js "> </ script >
66 </ head >
77 < body onload ="brython() ">
88 < script type ="text/python ">
99 import browser
10- print ( "Before Alert" )
11- browser . alert ( "Hello Real Python!" ")
12- browser . console . log ( "After Alert" )
10+ browser . alert ( "Hello Real Python!" )
1311 </ script >
1412 </ body >
1513</ html >
You can’t perform that action at this time.
0 commit comments