Who wants to use Python for reporting?

What: Python for Journalists — How to use simple coding to enhance your reporting.
When: Tuesday, Oct. 29, 6 pm
Where: Harvard University, Cambridge, Mass

Registration is limited to the first 50 people. Sign up at: https://nesw.memberclicks.net/index.php?option=com_mc&view=mc&mcid=form_153199Image

If you have little or no experience with computer programming, and you’re facing a problem that’s just crying out for a programmatic approach, what do you turn to?  The answer is Python!

Freelance writer John Bohannon, who had no experience with programming, taught himself the programming language Python, which allows people to author simple programs. He used it in his investigative story for Science,  “Who’s Afraid of Peer Review?”, an investigation of peer review among fee-charging open access journals. Between January and August 2013, Bohannon submitted fake scientific papers to 304 journals. Despite deliberate errors in the papers, they were accepted by 60 percent of the journals that received them. Each of the 304 papers was unique, with completely different authors and affiliations. Each paper described a different study, with different chemicals and cancer cells. The investigation generated over 3000 emails, all of which are now public record. So how did he do that?  With Python.

Bohannon will tell the story of that sting — in code.  It will be extremely newbie-friendly, and he’ll walk us through a little problem set that we do in the class in real time.

  • how to create a template for a Mad Lib and scale up production as big as you need
  • how to scrape the data from a website
  • how to create and curate data programmatically
  • how to send emails automatically from the command line (via Python, grabbing the body from text documents and the email addresses from your data)

By the end, everyone will have basically learned how to do what he did, and will have a starter kit of tools that allow them to do nearly anything.

Thanks to Neil Savage for organizing and to Rosalind Reid for hosting.

Sponsors: A co-event of New England Science Writers and Hacks/Hackers Boston. Hosted by Harvard’s School of Engineering and Applied Sciences.

Advertisements

The Comet of the Century?

Please RSVP to our first Fall event to hear about the rumored “comet of the century.”

ISON on 10 Oct. 2013. From M.P. Mobberley (http://martinmobberley.co.uk/images/2012s1_20131010_mpm.jpg)

ISON on 10 Oct. 2013. From M.P. Mobberley (http://martinmobberley.co.uk/images/2012s1_20131010_mpm.jpg)

Wednesday, 16 October
6 pm – Pizza social
7 pm – Comet talk
Location: Haller Hall, located in the building housing the Harvard Museum of Natural History
26 Oxford St. Cambridge, MA.
Cost: $5
RSVP: https://nesw.memberclicks.net/index.php?option=com_mc&view=mc&mcid=form_152296
Twitter hashtag: #ISON

Continue reading