Programar python no html.

programar python no HTML!


<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Python3-like Print Function in JavaScript</title>

</head>

<body>

<script>

function print(...args) {

    const output = args.map(arg => arg.toString()).join(' ');

    document.write(output + '<br>');

}


// Testando a função print

print('Olá, Mundo!');

print('Este é um exemplo de função print em JavaScript.');

</script>

</body>

</html>

CÓDIGO ESCRITO EM PYTHON E JS DIRETO NO HTML.


<!DOCTYPE html>

<center>

<html lang="en">

<style>

h1{

 background-color:#00BFFF;

}

</style>

<head>


<meta charset="UTF-8">


<meta name="viewport" content="width=device-width, initial-scale=1.0">


<title>Programando python3 direto no html!</title>

<h1>Programando python3 direto no html!</h1>


</head>


<body>


<script>


function print(...args) {


    const output = args.map(arg => arg.toString()).join(' ');


    document.write(output + '<br>');


}



// Testando a função print

print('Olá, Mundo!');

print('Você pode programar direto python3 no html.');

print();

print('<h2 style="color:#FF1493;">Aqui vamos contar a história de Maria santa!</h2>');

print();

print('EU SOU MARIA SANTA!<br><img src="https://i.pinimg.com/originals/cf/ce/29/cfce299da9a897cec1aee480cf06d6e6.gif"width="60%"><br><h3 style="color:#800000;">MARIA SANTA!<br><br>Ao meu encontrar,<br>um filho tinha para apresentar.<br>Sem saber o seu nome,<br>Deus pai, me pediu!<br>Batizar o santo.<br> De seu nome JESUS.<br>Filho do criador,<br>para mudar esta humanidade!<br>Pagando seus pecados na cruz.<br>filho de Deus pai,<br>mãe Maria como escolhida!<br>Assim nasceu o santo maior!</h3>');

print('Santa Maria! Quantos anos tem o seu filho?<br>1012 + 1012<br>O seu filho tem',1012+1012);

  



  

 

</script>

<h3 style="color:#8A2BE2;">A data é aproximada,<br> ao nascimento do santo dos santos!<br>Jesus viveu na terra.<br>Entre 33 a 36 anos,<br>logo seguindo rigorosamente a Bíblia!<br>É fazer contas.</h3>

  <h1>Sermão da montanha!<br>Do santo dos santos. JESUS.<br>Para muitos a maior verdade de Jesus! e da Bíblia.<br><iframe width="761" height="428" src="https://www.youtube.com/embed/vJ4Cg8kJDjw" title="Sermão da Montanha! | Trecho do filme: A Vida de Jesus Cristo de 1971." frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe><h1>

    <pre><strong>TODO ESTE PROGRAMA ESTÁ PROGRAMADO EM PYTHON3 

    DIRETO NO HTML.</strong></pre>

</body>

  </center>

</html>

Código do programa!


<!DOCTYPE html>

<html lang="en">

<center>

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Imagem magica!</title>

<h1 style="color:purple;">Imagem magica.</h1>

<pre style="color:red;">Eu sou o caminho,

musica, verdade, destino!

Eu sou o caminho.

A fé, a continuidade.

Sou Jesus! o teu preenchimento e felicidade.</pre>

<style>

    #imagem {

        position: absolute;

    }

</style>

</head>

<body>

<img src="https://i.pinimg.com/474x/20/a7/e9/20a7e97b56fe734190fc4db4163f4cb1.jpg" id="imagem">


<iframe width="761" height="428" src="https://www.youtube.com/embed/E8bCwmZp5W8?list=RDE8bCwmZp5W8" title="Abba &quot;The Winner Takes It All &quot; (1980) HQ Audio" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


<script>

    let imagem = document.getElementById('imagem');

    

    

    let video = document.getElementById('video');


    let posicaoX = 0;

    let posicaoY = 0;


    function moverImagem() {

        posicaoX += 1;

        posicaoY += 1;

        imagem.style.left = posicaoX + 'px';

        imagem.style.top = posicaoY + 'px';


        requestAnimationFrame(moverImagem);

    }


    moverImagem();

</script>

</body>

</center>

</html>



<a href="https://imgflip.com/gif-maker">GIF-MAKER-GIF</a>


<a href="https://culturainquieta.com/arte/pintura/pinturas-hiperrealistas-que-honran-la-belleza-del-cuerpo-femenino">pinturas hiperrealistas mulheres.</a>

Código programa curl -12 wget -12!!!


<!DOCTYPE html>

<html lang="en">

<center>

<head>

 <meta charset="UTF-8">

 <meta name="viewport" content="width=device-width, initial-scale=1.0">

 <title>Download de Arquivos</title>

</head>

<body>

 <h1>Download-de-Arquivos</h1>

 <p>Clique nos links abaixo para fazer o download dos arquivos:</p>

 <a id="fileDownload" download="nomeDoArquivo.extensao" href="#" onclick="downloadFile()">Clique aqui para fazer o download do arquivo</a>

 <input type="file" id="fileInput" />

 <button onclick="uploadFile()">Fazer Upload de Arquivo</button>

 <script>

 

 function downloadFile() {

  // Aqui você pode criar lógica para fazer o download do arquivo diretamente para o computador

  // Por exemplo:

  // Substitua 'caminho/do/arquivo.ext' pelo caminho do arquivo que deseja baixar

  //link"==nomeDoArquivo.extensao/exemplo.txt

  var fileURL = 'https://www.washingtonpost.com/search/?query=curl+-12';

  var fileName = 'https://www.washingtonpost.com/search/?query=curl+-12.txt';

  var a = document.getElementById('fileDownload');

  a.href = fileURL;

  a.download = fileName;

}


function uploadFile() {

  // Aqui você pode criar lógica para fazer o upload de arquivos

  var fileInput = document.getElementById('fileInput');

  var uploadedFile = fileInput.files[0];

  // Aqui você pode adicionar a lógica para fazer o upload do arquivo

  console.log('Arquivo selecionado para upload: ', uploadedFile);

}

 </script>

 <h1 style="color:purple;">Download-de-Arquivos curl -12 wget  -12</h1>

</body>

</center>

</html>

CODIGO PYTHON#jsDiretoHTML.


<!DOCTYPE html>

<html>

<head>

    <title>Print em JavaScript</title>

</head>

<body>

    <h1>Imitando o Python3 com a função print em JavaScript</h1>

    

    <script>

        function print(message) {

            document.write(message + "<br>");

        }


        // Exemplos de uso

        print("Olá, mundo!");

        print("Este é um exemplo de mensagem impressa com a função print em JavaScript.");


        // Também é possível passar variáveis para a função print

        var nome = "José";

        var idade = 30;


        print("O nome é " + nome + " e a idade é " + idade);

    </script>

</body>

</html>