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

PyConZA 2014: "Ipython as a tool for teaching and learning" by Laura Richter

Pycon ZA
October 02, 2014

PyConZA 2014: "Ipython as a tool for teaching and learning" by Laura Richter

The ipython environment lends itself to teaching and learning: immediate feedback, flexible visualisation, easy access to docstrings and ability to explore modules.

With development of the ipython notebook, this is taken a step further, by providing browser-based access to an ipython environment with the ability to share notebooks with others, embed output products and annotate code.

I will present some experience of using ipython as a teaching tool in a tertiary teaching environment in Radio Astronomy courses in Windhoek, Nairobi and Cape Town.

Pycon ZA

October 02, 2014
Tweet

More Decks by Pycon ZA

Other Decks in Programming

Transcript

  1. Kenya and Namibia JEDI* workshop, ~12 third year plus students

    *Joint Exchange and Development Initiative, jedi.saao.ac.za, cosmology.org.za/ml-jedi-2 PyConZA, Johannesburg, October 2014
  2. Ipython: pragmatics • Python from the ground up • Focus

    on Astrophysics related tools • Physical handout to follow • Group work • Use of ipython help • Including errors PyConZA, Johannesburg, October 2014
  3. Ipython: evaluation PyconZA, Johannesburg, October 2014 Wins • Ipython help

    • Interactive • Feedback to students • Debugging for tutors • “Discovery through experimentation” Challenges • Student linux proficiency • Standardisation/versioning
  4. South Africa *National Astrophysics and Space Science Programme, star.ac.za NASSP*

    course, 21 fourth Astrophysics students PyConZA, Johannesburg, October 2014
  5. Ipython notebook: emphasis PyconZA, Johannesburg, October 2014 python content python

    tutorial content tutorial content/python lab interactive lecture notes packaged content tutorial
  6. Ipython notebook: pragmatics • Simplest case • Challenges • Linux

    proficiency • Standardisation/versioning PyconZA, Johannesburg, October 2014
  7. • github • nbviewer • cloud computing • runipy •

    nbconvert PyconZA, Johannesburg, October 2014 Ipython notebook tools
  8. Ipython notebook tools ipython notebook + github + nbviewer =

    magic PyconZA, Johannesburg, October 2014
  9. Ipython notebook tools ipython notebook + github + local server

    / AWS EC2 = magic magic PyconZA, Johannesburg, October 2014
  10. Ipython notebook tools ipython notebook + github + sagemath cloud

    = living the dream* PyConZA, Johannesburg, October 2014
  11. Wins • The ipython wins, plus: • Browser based, cross-platform

    • Everything in one context • Less necessity for linux expertise • Convenient for assignments • Markdown and LaTeX PyconZA, Johannesburg, October 2014 Ipython notebook: evaluation
  12. PyConZA, Johannesburg, October 2014 “It's SO MUCH FASTER to do

    an assignment in iPython.. IF you can get the code right.” “I got comfortable with python, ipython and at the same time got some work done.” “advantage was that it is fun to use it” “the notebooks are especially cool” “The fact that you can change parameters and see how that affects the output is very useful.” “ability and flexibility to play around with the codes and thus the subject content” “The Fourier transforms make much more sense when you can see it in front of you, and play around with it;” “it is nice that it breaks the code up into pieces. So if there is an error you can identified the error more easily.”