title: Call python FUNCTION from javascript
body: <p>this question have been asked numerous times, I know and I'm sorry if by ignorance I didn't get the answers.</p>
  
  <p>I have a hosting plan which doesn't allow me to install django, which was really nice to call an rest api easily with the routing settings.</p>
  
  <p>What I want is to be able to call a python function from javascript code doing a get/post (I'm using AngularJs, but it would be the same making an ajax get/post.)</p>
  
  <p>Let's say I have a js controller 'Employee' and a view 'CreateEmployee'.</p>
  
  <p>From my javascript view, I can call my CreateEmployee() on the js controller, now my question is, how can I call a specific function (let's say) def CreateEmployee(params...) on my .py file?</p>
  
  <p>All I found is making a get/post on my .py file, but didn't find how to invoke a specific function.</p>
  
  <p>I probably don't get the python and client/server communication paradigm, I've been coding on asp.net WebForms for a long time, and since I can't use frameworks like Django I'm stuck.</p>
  
  <p>Thanks</p>