Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

330
Vistas
how to run python script in javascript

how I use python scrip in JavaScript ?

I want to make a live web scraper. And Python is the best for web scraping. But I'm trying to run Python code on the front-end. So that the performance of my application is good.

about 4 years ago · Juan Pablo Isaza
2 Respuestas
Responde la pregunta

0

<!DOCTYPE html>
<html lang="en">
<head>
    <link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" />
    <script defer src="https://pyscript.net/alpha/pyscript.js"></script>
</head>
<body>
    <py-script> 
        print('Now you can!')
     </py-script>
</body>
</html>
about 4 years ago · Juan Pablo Isaza Denunciar

0

I'm not a Python developer, so maybe python is better for web scraping... however web craping is done on the back-end, and there for you would not need python on the front-end (it is an option, but it wont make a difference).

In fact, JavaScript would perform better than python on the front end because it is 1 - made for the browser without the need for plug-ins, and 2 JS is the fastest dynamic language.

my advise would be to send the data from your python backend in JSON to your JS front end, and you will get the best of both worlds.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda