Skip to content

devdattaT/sampleTornadoApp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

This is a sample Application which shows how you can make calls to a service, which calls a Python function.

This works on Tornado Web Server

To install Tornado, run the following command (via pip)

pip install tornado

To run this code, run:

python web_wrapper.py

Now open http://localhost:8111 in your Browser

The code has a index.html which makes an Ajax call to the API, sending the name that the user has entered. The service (contained in web_wrapper.py) calls a Python file (WelcomeUser.py), and sends the name to the function called sayHello()

About

This is a Sample Tornado App, and shows how you can make an Ajax Request to the service, and get the data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published