Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WTF is Python


Published on

A short presentation I gave at work about Python, Django, and why it would be a great fit for what we do.

Published in: Technology

WTF is Python

  1. WTF is Python? And why you should care
  2. Python is a modern programming language. Used by Microsoft, Google, Apple, Lucasfilm, NASA & loads more.
  3. What does Python look like? # Print Hello ten times: for __ in range(0, 10): print "Hello" # Work out a factorial: import operator reduce(operator.__mul__, [1, 2, 3, 4, 5])
  4. What does Python look like? class User(object): def __init__(self, name): = name def say_hello(self): print “Hello, my name is %s.” %
  5. Django
  6. Django is a web framework written in Python. It gives you pretty URLs, a free admin site, and happy, happy staff. It’s been used successfully by The Guardian, The Onion, Google, and us!
  7. What does Django look like? {% for p in %} <li> <a href=”{{ p.image.url }}”> <img src=”{% thumbnail p.file 100x100 %}” /> </a> </li> {% endfor %}
  8. Business
  9. How will this help us make more money? Hopefully write fewer LOC • Write more code in the same time. • Write more maintainable code. • More time for testing. • More money! Django apps are reusable by design.
  10. PHP Python Java/.Net Small Medium Large Huge
  11. Still not convinced?
  12. Python is fast enough for our site and allows us to produce maintainable features in record times, with a minimum of developers. – Cuong Do (YouTube)
  13. People who’ve made the switch to dynamic languages [Python] seem much, much happier. – Bruce Eckel (Author)
  14. Django proved to be absolutely the right choice. – Jeremy Keith (Clearleft)
  15. Moving from PHP to Django radically improved our development speed and the quality of our websites. – Andy Durdin (Mercurytide)
  16. Thanks, Questions?