Are you writing a web based console where you need to take input and write it directly to python variable at the backend? Then, probably this is what you need!
Yes, it is available here. Check it out.
Feel free to leave your comments @ sattvik -at- gmail -dot- com.