addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

PyLadies Monthly Meeting - defaultdict Tutorial

Michelle Fullwood is back with another excellent tutorial. This time, she will be covering defaultdict. She will cover from beginner level (what is the difference between a dictionary and a defaultdict?) to more advanced usage (real world examples!). Come learn with us!

Akamai will be providing pizza and soft drinks.

For beginners: if you are interested in following along with this tutorial, you must have Python installed on your computer prior to the meetup. To check to see if you have Python installed, open up your terminal (or PowerShell) and type "python --version". If something that looks like "Python 2.*.*" comes up, Python is installed. If it isn't installed, follow instructions here for your particular operating system.

Join or login to comment.

  • Michelle F.

    Here's the link to the slides, once again: https://github.com/michelleful/DefaultdictTutorial/raw/master/presentation.pdf The solution to the exercises is here, with a few more comments: https://github.com/michelleful/DefaultdictTutorial/blob/master/process_text.py

    Thanks for putting up with the projector issues today, and for coming out despite the snow!

    1 · February 18, 2014

  • A former member
    A former member

    Here's a useful article about defaultdict, pretty much what's in the presentation: http://blog.ludovf.net/python-collections-defaultdict/

    February 18, 2014

  • Martha

    Unfortunately I won't be able to make it. Sigh...

    February 18, 2014

  • Jennifer K.

    Snow alert: right now we're still on, but if it does get bad, Akamai might shut down their facilities. If they do that, I will comment here and email all of you. Keep an eye on your inboxes!

    February 18, 2014

    • Jennifer K.

      Sounds good Michelle! We're still on and Akamai is ordering food at 4. This is Boston! 4 inches of snow won't stop us :)

      1 · February 18, 2014

    • Jennifer K.

      And we're good! Haven't heard anything from Akamai, so see y'all in a bit!

      February 18, 2014

  • Bekah M.

    I'm going to have to miss tonight. I live up in Salem and the snow is heavier there so I'm leaving work early. See you next month. Hopefully the snow will have stopped by then!

    February 18, 2014

  • Anne T.

    I have to drive to get to a T stop. If all is clear in time I'll be there.

    February 18, 2014

  • Katie

    I'm running an experiment on Tuesday right until 7, so I'm still going to come I'll just be a little late. I'll try and keep the "Wait, what did I miss?" questions to a minimum. :) Is there a place I can look at the slides, or do something else to compensate for missing the first 20-30 minutes?

    February 16, 2014

    • Katie

      Thanks both of you! See you on Tuesday.

      February 16, 2014

    • Katie

      For those of you interested in the details of my schedule, my experiment got cancelled tomorrow due to weather! It's a bit of a bummer but the upside is, I'll be there in time for pizza. See you tomorrow.

      February 17, 2014

  • Clara

    Just wondering... why Python 2 and not 3? (in reference to the "checking if Python is installed" paragraph above)

    February 12, 2014

    • Clara

      I suppose I asked the wrong question. I meant to ask: why is everyone/most people using python2?

      February 15, 2014

    • Jennifer K.

      Because prior to a relatively recent release, neither django nor SciPy supported Python 3.

      February 15, 2014

40 went

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy