Welcome to Python

download Welcome to Python

of 21

  • date post

  • Category


  • view

  • download


Embed Size (px)


Elena's friendly, candid and subjective introduction to python for people who haven’t really heard of it before.

Transcript of Welcome to Python

  • 1. Welcome!PythonFriendly, Candid and Subjective Presentation forPeople Who Havent Really Heard of it Before http://anu.python.social.org.au

2. Who am I?Elena WilliamsMaster ITS studentMake websites (since 2001)Python (since 2008)(Django)KitesurfingPython/PyLadiestwitter/@elequIm not really particularly special or official :) http://anu.python.social.org.au 3. Why?No existing python groupin Canberra(that I could find)Proven:~ learn faster~ better work is done withother peopleMake cool stuff!Share the love workingon cool projects!http://anu.python.social.org.au 4. What Is Python?python.orgPython, an interpreted, interactive, object-oriented, extensible programminglanguage.Python runs on Windows, Linux/Unix, Mac OS X, and has been ported to theJava and .NET virtual machines.wikipediaPython is a general-purpose, high-level programming language whose designphilosophy emphasizes code readability.Python claims to [combine] remarkable power with very clear syntax, and itsstandard library is large and comprehensive.Its use of indentation for block delimiters is unique among popularprogramming languages.Open Source! http://anu.python.social.org.au 5. BackgroundChttp://anu.python.social.org.au 6. BackgroundJava http://anu.python.social.org.au 7. BackgroundPython http://anu.python.social.org.au 8. Background: BDFLGuido Van Rossumlate 80s in NetherlandsBDFL(Benevolent Dictator for Life)http://mar.gy/UvETAvoid platform ties, but not religiouslyDont bother the user with detailsDiscourage but allow coding to the platformOffer multiple levels of extensibilityErrors should not be fatal, if possibleErrors should never pass silentlyDont blame the user for bugs in Pythonhttp://anu.python.social.org.au 9. Background: Zen>> import this ... doesnt matter what design philosophy aBeautiful is better than ugly. programming languageExplicit is better than implicit.has, so long as it has oneSimple is better than complex. that everyone can followComplex is better than complicated.Flat is better than nested.Sparse is better than dense.Readability counts.Special cases arent special enough to break the rules.Although practicality beats purity.Errors should never pass silently.Unless explicitly silenced.In the face of ambiguity, refuse the temptation to guess.There should be one -- and preferably only one --obvious way to do it.Although that way may not be obvious at first unless youre Dutch.Now is better than never.Although never is often better than *right* now.If the implementation is hard to explain, its a bad idea.If the implementation is easy to explain, it may be a good idea.Namespaces are one honking great idea -- lets do more of those!http://anu.python.social.org.au 10. Who Uses It Professionally?Most major organisations that have a number programmers andproblems to solve.Big list of names +many many more:Disney, Pixar, Dreamworks, Weta DigitalLucas: Lucasfilms, ILM, LucasArtsVMware, Broadcom, QNXEvite, Eventbrite, Justin.tvYelp, TripIt, Zillow, NetflixRed Hat, Ubutnut/Canonical, OLPCNASA, NOAA (NWS), NSA http://anu.python.social.org.au 11. Who Else Uses It?Most Python users are self-taught.No one can be embarrassed. Computer Science Science Engineering Journalism Philosophy ... (accounting)MIT first undergraduate course is now Python.Popular with start-ups because you can develop fast. Get your product to market first.A word on anti-marketing: a lot more people and projects have used python than anyonewill ever know! Python folk prefer to use their energy coding than marketing themselves. http://anu.python.social.org.au 12. Uses of Pythondo thingshttp://anu.python.social.org.au 13. Uses of Pythondo thingshttp://anu.python.social.org.au 14. Uses of Pythondo thingshttp://anu.python.social.org.au 15. Uses of Pythondo things make thingshttp://anu.python.social.org.au 16. Uses of Python hardwarenetworking Arduino board using python to send gmail to a display. Laser physics: cover of Nature -- this experiement run using python. Quantum physics: graphically analysing Bose-Einstein Condensation using python. analysis domain logichttp://anu.python.social.org.au 17. Real Life Helpful Uses of PythonMap sparse galaxiesAnalyse weather systemsControl underwater robotsDamaged music scoresfrom the 19thCEmergency services http://anu.python.social.org.au 18. Real Life Helpful Uses of Python- great calculator- scraping internet- any file processing- any repetitive taskquick easy programs!... anyone?http://anu.python.social.org.au 19. Real Life Helpful Uses of Python$$$IT Salaries are upPython is 4th top growing skill in past 3 monthsAverage starting Python programmer salaryUSD70k+ http://anu.python.social.org.au 20. Python LoveCommunity!Open and welcoming!New or refugees, were very friendly!Know our flaws, happy to talk about them.Conferences/hackathons/sprints arefriendly, welcoming and supportive.Record numbers of presenters/trainers saying I love python(hoping to make a mash-up video of this one day).http://anu.python.social.org.au 21. Questions? Contact me If you have any questions about:~ Django~ production Python websitesThank you!~ PyLadies~ KitesurfingCome again any time!~ subdomain on social.org.auhttp://anu.python.social.org.au