次のコードを含む function.py という Python ファイルがあります。
def double(x):
return x * 2
次の HTML コードもあります。
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
alert(double(4));
</script>
</body>
</html>
JavaScript の HTML で Python ファイルを読み込む方法はありますか、それとも不可能ですか?