Is python used for web development?

yes,and you can use different framework like django,web2py,cherryPy etc.. for web development.

Python is widely used for developing large scale web applications that are not possible to build and develop using other languages like . NET and PHP as Python is very much powerful in supporting many ultra features that is very easily executed with different frameworks like Django, Flask, web2py and many more. Python indeed is a favorite among application programmers as well as web developers (thanks to Django) owing to its strong emphasis on readability and efficiency. And the biggest advantage with the language is that it is quite easy to learn.