Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learning Python

Learning Python

MIT Outreach Guest Speaker Series


Carol Willing

March 27, 2021


 Learning Python Tips from Cognitive Science, Jupyter, and Open

    Souce Community Carol Willing March 27, 2021 Oak Valley Coding Club Guest Speaker Series with MIT Alumni Club of San Diego
  2. Hello Steering Council, Python Core Developer, Python Fellow, Python Software

    Foundation Frank Willison Award for technical and community contributions to Python Steering Council, Project Jupyter Core Developer, Project Jupyter Co-Editor, Journal of Open Source Education Co-Author, Teaching and Learning with Jupyter Notebooks 2017 ACM Software System Award Lead Developer Advocate, Noteable.io Carol Willing GitHub: willingc
  3. HELLO, I’M CAROL ➤ I love playing and creating with

    code. ➤ Ooh...cool. How did you make this? ➤ What happens if... ➤ I wonder if I can break it. ➤ People before code - always ➤ Learn, Build, Share - Openly
  4. Why learn Python?

  5. Learning and Cognitive Science Thinking Ideas

  6. What is Cognitive Science? Anthropology Linguistics Education AI Psychology Philosophy

  7. Learning results from what a student does and thinks and

    only what the student does and thinks. Herbert A. Simon
  8. The teacher can advance learning only by in fl uencing

    what the student does to learn. Herbert A. Simon Credit: http://bostonpythonworkshop.com/
  9. Language

  10. Python - The Beginning the most important lesson I learned

    was about sharing – Guido van Rossum http://neopythonic.blogspot.com/2016/04/kings-day-speech.html
  11. Designed for Learning In reality, programming languages are how programmers

    express and communicate ideas — and the audience for those ideas is other programmers, not computers. http://neopythonic.blogspot.com/2016/04/kings-day-speech.html – Guido van Rossum
  12. Creating CPython: Guido & core team Credit: LWN.net PyCon 2017

    Language Summit
  13. Scratch to Python 3 Joshua Lowe EduBlocks

  14. Mu Python 3 code editor for learning https://codewith.mu

  15. Visualize Get live help pythontutor.com Philip Guo (UCSD Cognitive Science)

  16. @WillingCarol Learn Python is designed for your success. https://devguide.python.org/ https://docs.python.org/

  17. Tools and Libraries

  18. Jupyter Notebook A Jupyter Notebook document with a visualization of

    measles data.
  19. @WillingCarol 19 
 JupyterLab: Integrated Experience

  20. @WillingCarol 20 Learning and computational ideas Usability Reproducibility Collaboration Prediction

    Recommendation Classification
  21. @WillingCarol 21 
 Jupyter Notebook • Interactive, browser-based computing environment

    • Exploratory data science, ML, visualization, analysis, stats • Reproducible document format: • Code • Narrative text (markdown) • Equations (LaTeX) • Images, visualizations • Over 50 programming languages • Everything open-source (BSD license) Interactive, Exploratory, Reproducible
  22. Five years ago 283,399 notebooks on GitHub

  23. Today 9,857,138 notebooks on GitHub

  24. How did we get to almost 10 million notebooks in

    5 years?
  25. It started with communication, problem solving, passion, and simplicity

  26. None
  27. 27

  28. @WillingCarol 28 
 Enabling Reproducible Science https://losc.ligo.org/about/

  29. @WillingCarol 29 
 Live Code on Binder https://beta.mybinder.org/v2/gh/minrk/ligo-binder/master?filepath=index.ipynb https://losc.ligo.org/tutorials/ LIGO

    Binder mybinder.org
  30. • Feedback and communication with students using nbgrader http://kristenthyng.com/blog/2016/09/07/ jupyterhub+nbgrader

    / • Progression to complex examples and task s https://github.com/kthyng/ python4geosciences Geosciences and Climate Change Python for Geosciences Dr. Kristen Thyng
  31. Digital Humanities and Arts

  32. @WillingCarol 32 
 Enabling Open Data Journalism

  33. JupyterHub

  34. • Exploration and experimentation http://pyvideo.org/scipy-2016/labs-in-the-wild-teaching- signal-processing-using-wearables-jupyter-notebooks- scipy-2016.html • Physical media

    with wearables and electronics • Real world, self-directed projects Motivate learners in science and engineering Teaching Signal Processing using Wearables and Jupyter Notebooks Dr. Demba Ba
  35. Used in universities around the world Berkeley Data Scienc e

    Data8 UC Berkeley http://denero.org/data-8-in-spring-2017.html https://github.com/data-8/jupyterhub-k8s http://data8.org/ http://data.berkeley.edu/ http://data.berkeley.edu/about/videos • Campus wide curriculu m • Cross-disciplin e • Zero to JupyterHub with Kubernetes https://zero-to-jupyterhub.readthedocs.io
  36. Community

  37. Invite new learners Use a proven curriculum Engage students Reduce

    stress with notebooks Meetups and Workshops Intro to Python - San Diego Python http://pyvideo.org/pycon-us-2013/a-hands-on-introduction-to-python-for-beginning-p.html https://github.com/pythonsd/intro-to-python
  38. DjangoGirls and PyLadies

  39. Community

  40. None
  41. Tinkering and making

  42. Building helpful community

  43. ...a programming language created by a community fosters happiness in

    its users around the world. – Guido van Rossum
  44. @WillingCarol Learn Share Build

  45. @WillingCarol Choose a language designed for learning

  46. @WillingCarol Use learner-friendly tools

  47. @WillingCarol Encourage others and share

  48. @WillingCarol Immerse yourself

  49. Came for the language. Stayed for the community. Brett Cannon

    and Pythonistas around the world Credit: Kushal Das
  50. @WillingCarol 50 Thank you

  51. Python Software Foundation

  52. •San Diego Python •Demba Ba •Project Jupyter team and community

    •Photo credits and links on individual slides Attributions and recognition https://speakerdeck.com/willingc/learning-python-mit-outreach