Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

329
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!