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

167
Views
Sending data from a Javascript program to a Python program and vice versa

I'm working on a project where data gathered from a Javascript program can be treated in a python program since many libraries in python are absent in Javascript. I'm currently trying to use Ajax to send the data between the .js file and the .py file

    $.ajax({
      type: "POST",
      url: "/Users/ryancheng/Desktop/coding/dashathon2021/dasha-app/webscrape.py",
      data: {param:restResult.data.features},
      success: function(response){
        output = response;
        alert(output);
      }
    }).done(function(data){
      console.log(data);
      alert(data);
    })

However I get the error ReferenceError: $ is not defined. Any help would be much appreciated. If there is any other method to send files back and forth that I am not aware of, please let me know.

about 4 years ago · Juan Pablo Isaza
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!