Successfully reported this slideshow.
Your SlideShare is downloading. ×

Python Programming Essentials - M44 - Overview of Web Development

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 6 Ad

More Related Content

Slideshows for you (20)

Advertisement

Similar to Python Programming Essentials - M44 - Overview of Web Development (20)

More from P3 InfoTech Solutions Pvt. Ltd. (20)

Advertisement

Recently uploaded (20)

Python Programming Essentials - M44 - Overview of Web Development

  1. 1. http://www.skillbrew.com /SkillbrewTalent brewed by the industry itself Overview of Web Development in Python Pavan Verma @YinYangPavan Founder, P3 InfoTech Solutions Pvt. Ltd. Python Programming Essentials
  2. 2. © SkillBrew http://skillbrew.com Web Development Example
  3. 3. #!/usr/bin/env python import MySQLdb print "Content-Type: text/htmln” print "<html><head><title>Books</title></head>” print "<body>“ print "<h1>Books</h1>" print "<ul>“ connection = MySQLdb.connect(user='me', passwd='letmein', db='my_db') cursor = connection.cursor() cursor.execute("SELECT name FROM books ORDER BY pub_date DESC LIMIT 10") for row in cursor.fetchall(): print "<li>%s</li>" % row[0] print "</ul>“ print "</body></html>“ connection.close()
  4. 4. © SkillBrew http://skillbrew.com Web development frameworks  Django  Flask  Pyramid
  5. 5. © SkillBrew http://skillbrew.com References  https://www.djangoproject.com/  http://flask.pocoo.org/  http://www.pylonsproject.org/

×