PyDev of the Week: Ben Nuttall
This week's PyDev of the Week is Ben Nuttall. Come find out more about Ben as he discusses Python, Raspberry Jam, and his other interests and projects!
Join the DZone community and get the full member experience.Join For Free
this week we welcome ben nuttall ( @ben_nuttall ) as our pydev of the week. ben is a raspberry pi community manager http://bennuttall.com/ and is the creator of gpio zero , which is a simple interface to the gpio components on the raspberry pi. you should also check out his website to see what ben is up to. let’s take a few moments to get to know ben better!
can you tell us a little about yourself (hobbies, education, etc):
as well as programming i like whitewater kayaking, and a mix of other outdoor pursuits. also i recently got into photography (and have lots to learn).
i studied mathematics and computing at university, and then worked in the software industry for a couple of years. around this time i was getting more involved in my local tech community, attending user groups and conferences. i set up a community event for raspberry pi (called raspberry jam), and did some events with schools to help teachers them use raspberry pi in their classrooms, and to engage kids in digital making.
through community work like this i ended up getting hired by the raspberry pi foundation to do development and outreach. we formed an education team and started running teacher training programmes and other workshops. the foundation’s getting bigger now as we try to reach more people around the world through our education programmes, and make more of an impact. i now work as raspberry pi community manager, supporting jams and other community efforts including some great open source projects.
why did you start using python?
a friend showed me python in 2011, he demonstrated some simple examples and i was impressed by the straightforward nature of the syntax. at the time i’d used a lot of php, java and matlab, so i was used to more verbose syntax. python just seemed like a brilliant general purpose language. it soon because my language of choice for simple tasks, and through doing those, and working through pythonchallenge.com , i soon picked up a good all-round skill set.
when the raspberry pi came along it became much more relevant to me as i learned to do physical computing projects with the pi’s gpio pins. i learned a lot by thinking up project ideas for the learning resources we put together, and by building projects from specification for other members of the team.
what other programming languages do you know and which is your favorite?
what projects are you working on now?
at the end of last year i started a new library for controlling gpio components on raspberry pi. the previous de-facto library for doing that was very low-level, just allowing you to turn individual pins high and low, and to read the state of pins, and required a lot of boilerplate code to get started, which made it hard to teach with. i created gpio zero, named in reference to pygame zero (a zero boilerplate wrapper for pygame). the project developed really quickly and we released v1.0 within a couple of months. it’s going really well and i’ve had some great feedback. i’ve had a lot of help from dave jones, who maintains the picamera library for raspberry pi.
we currently have two raspberry pis on the international space station, running python programs written by school kids in the uk. it’s part of an outreach programme called astro pi, between raspberry pi and the uk space agency with british esa astronaut tim peake.
which python libraries are your favorite (core or 3rd party)?
i love the power of itertools, there are some very handy functions in there i use regularly. i really like daniel pope’s pygame zero – it’s achieved a lot by removing boilerplate and making it straightforward to make progress in creating a game. it also inspired me and others to create similar libraries, particularly for use in education.
where do you see python going as a programming language?
python is pretty huge in education. it’s a popular teaching language as it’s easy to read and write, and extends into pretty much everywhere – games, desktop applications, websites, physical computing, robotics, science, maths and more. it’s interesting to think that if every kid has the opportunity to learn python, this will have a big impact on the adaptation of the language in future.
i wish we had a better editor for beginners. idle is not fit for purpose. there’s a great community project called mu, which has been designed for use in education. it still needs a bit of work (it currently only works with micropython on the micro:bit device) but i’d like to see it continue. there exist similar problems in the classroom, that most developers aren’t aware of, like the difficulty of installing libraries. i recommend library maintainers read the article ‘scratch is the new powerpoint’ by uk teacher laura dixon.
is there anything else you’d like to say?
i maintain a library called pyjokes — one line programmer jokes as a service. you can pip install it to access jokes on the command line, or to use the jokes in your own python project. we also have a twitter bot you can follow: @pyjokes_bot.
thanks for doing the interview!
Published at DZone with permission of Mike Driscoll, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.