<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Python on The Carpentries</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/tag/python/</link><description>Recent content in Python on The Carpentries</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 23 Mar 2026 09:42:16 -0400</lastBuildDate><atom:link href="https://deploy-preview-705--carpentries-website.netlify.app/blog/tag/python/index.xml" rel="self" type="application/rss+xml"/><item><title>Instats Pilot: What and Why? (and a Call for Helpers)</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2026/03/instats-pilot-what-and-why/</link><pubDate>Wed, 25 Mar 2026 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2026/03/instats-pilot-what-and-why/</guid><description>&lt;p>At the end of 2025, we began exploring a partnership with &lt;a href="https://instats.org/about">Instats&lt;/a> to offer recorded Carpentries workshop sessions. Instats is a mission-driven organisation that focuses on delivering a diverse range of seminars that inspire high-quality, ethical, and impactful research.&lt;/p>
&lt;h2 id="why-are-we-partnering-with-instats">Why are we partnering with Instats?&lt;/h2>
&lt;p>The goal of working with Instats is to create more opportunities for anyone who can&amp;rsquo;t attend in-person or locally hosted workshops due to availability in their region, and circumstances such as time zone conflicts. An added benefit is the ability for all learners to engage with our lessons at their own pace.&lt;/p></description></item><item><title>Updating our Lesson Setup Instructions</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2025/03/lesson-setup-instructions-task-force-recommendations/</link><pubDate>Wed, 12 Mar 2025 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2025/03/lesson-setup-instructions-task-force-recommendations/</guid><description>&lt;p>The Lesson Setup Instructions Task Force was &lt;a href="https://github.com/carpentries/task-forces/blob/main/2024/lesson-setup/lesson-setup-instructions.md">established in August 2024 to review existing setup instructions&lt;/a> for Data Carpentry, Library Carpentry, and Software Carpentry lessons and decide where and how these instructions should be updated. Members of the task force considered a wide range of options for installing Bash, Git, Python, and R, and engaged in many constructive discussions. The task was challenging, and the “best” option was often difficult to identify.&lt;/p></description></item><item><title>Library Carpentry Curriculum Advisory Committee Approves a Major Update to the LC Python Lesson</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2024/06/lc-python-update/</link><pubDate>Wed, 26 Jun 2024 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2024/06/lc-python-update/</guid><description>&lt;h3 id="introduction">Introduction&lt;/h3>
&lt;p>We are excited to announce that the Library Carpentry Curriculum Advisory Committee (LC-CAC) has approved a major update to the &lt;a href="https://librarycarpentry.org/lc-python-intro/">Python Intro for Libraries lesson&lt;/a>.&lt;/p>
&lt;p>The lesson demonstrates how to use Python to clean, analyse, and visualise library usage data, providing an introduction to reproducible workflows in Python for library and information workers. While the lesson repurposes some elements from the previous Library Carpentry Introduction to Python, it is a major overhaul that includes a new library-specific dataset, the use of JupyterLab instead of Spyder, and new episodes that use Pandas to tidy a dataset and Plotly to visualise data.&lt;/p></description></item><item><title>Incubator Lesson Spotlight: Interactive Data Visualizations in Python</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2022/04/incubator-lesson-spotlight/</link><pubDate>Wed, 27 Apr 2022 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2022/04/incubator-lesson-spotlight/</guid><description>&lt;p>The first virtual CarpentryConnect South Africa 2021 took place from 6 to 17 September. The event included 2 Carpentries workshops, 1 Carpentries instructor training event, 2 networking events, 1 learning session and 1 opening address.&lt;/p>
&lt;p>The main goal of CarpentryConnect South Africa 2021 was to build capacity for workshops through instructor training and bring together newer and more experienced community members to share knowledge, network, develop new skills, and develop strategies for building strong local communities around digital and computational literacy in Africa.&lt;/p></description></item><item><title>Fourteen and Counting - People's Favorite Tools</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2018/01/fave_update/</link><pubDate>Mon, 08 Jan 2018 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2018/01/fave_update/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>Thank you to all the people who have sent in short posts about their favourite tools. We are up to fourteen now, and the variety
of tools is great to see. Finding out what other people use - and possibly more importantly - &lt;em>why&lt;/em> they use it, and for what, is a great
shortcut for researchers. There are a bewildering number of research tools around. Getting a tip from someone in your discipline, or from
someone who is doing a similar task to you, can really help.&lt;/p></description></item><item><title>People's Favorite Tools</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2017/11/favorites/</link><pubDate>Wed, 29 Nov 2017 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2017/11/favorites/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>A big thank you to everyone who has responded so far to the call for short posts about their favourite tools.&lt;/p>
&lt;p>So far we have had &lt;a href="https://twitter.com/orchid00">Paula Martinez&lt;/a> on &lt;a href="https://software-carpentry.org/blog/2017/10/my-fave-tool.html">R&lt;/a>, with &lt;a href="https://twitter.com/BinxiePeterson">Bianca Peterson&lt;/a> &lt;a href="https://software-carpentry.org/blog/2017/11/bianca-fave.html">enthusiastically seconding&lt;/a>, Jeff Oliver sharing his love of &lt;a href="https://software-carpentry.org/blog/2017/10/oliver-fave.html">Git and GitHub&lt;/a>,
&lt;a href="https://twitter.com/kellieotto">Kellie Ottoboni&lt;/a> talking up &lt;a href="https://software-carpentry.org/blog/2017/10/ottoboni-fave.html">IPython&lt;/a>, and Thomas Arildsen on
how the &lt;a href="https://software-carpentry.org/blog/2017/10/arildsen-fave.html">Jupyter Notebook&lt;/a> facilitates his teaching. &lt;a href="https://twitter.com/JulianeS">Juliane Schneider&lt;/a> weighed in on the &lt;a href="https://software-carpentry.org/blog/2017/10/schneider-fave.html">wonders of OpenRefine&lt;/a>. Clifton Franklund likes &lt;a href="https://software-carpentry.org/blog/2017/11/franklund.html">RStudio&lt;/a>, while Francesco Montanari is a fan of &lt;a href="https://software-carpentry.org/blog/2017/11/fm-fave-tool.html">emacs&lt;/a>.&lt;/p></description></item><item><title>My Favourite Tool: Jupyter Notebook</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2017/10/arildsen-fave/</link><pubDate>Sat, 28 Oct 2017 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2017/10/arildsen-fave/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;h4 id="my-favorite-tool-is--the-jupyter-notebook">My favorite tool is &amp;hellip; the Jupyter Notebook.&lt;/h4>
&lt;p>One of my favourite tools is the &lt;a href="http://jupyter.org/">Jupyter notebook&lt;/a>. I use it for teaching my students scientific
computing with Python.&lt;/p>
&lt;h4 id="why-i-like-it">Why I like it:&lt;/h4>
&lt;p>Using &lt;a href="http://jupyter.org/">Jupyter&lt;/a> with the plugin &lt;a href="https://github.com/damianavila/RISE">RISE&lt;/a>,
I can create presentations including code cells that I can edit and execute live during the presentation
to demonstrate the various aspects of Python that I introduce. It is a very good compromise between running scripts
and typing in the command prompt on the projector screen vs. just showing static slides with code.&lt;/p></description></item><item><title>My Favourite Tool: IPython</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2017/10/ottoboni-fave/</link><pubDate>Fri, 27 Oct 2017 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2017/10/ottoboni-fave/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;h4 id="my-favorite-tool-is--ipython">My favorite tool is &amp;hellip; IPython.&lt;/h4>
&lt;p>&lt;a href="https://ipython.org/">IPython&lt;/a> is a Python interpreter with added features that make it an invaluable tool for interactive coding and data exploration. IPython is most commonly taught via the &lt;a href="http://jupyter.org/">Jupyter notebook&lt;/a>, an interactive web-based tool for evaluating code, but IPython can be used on its own directly in the terminal as a replacement for the standard Python interpreter.&lt;/p>
&lt;h4 id="why-i-like-it">Why I like it&lt;/h4>
&lt;ul>
&lt;li>
&lt;p>You can run Unix commands directly in IPython. For instance, if you want to load a file from another directory, it is convenient to &lt;code>cd&lt;/code> into the directory from within the IPython window.&lt;/p></description></item><item><title>Teaching Python to undergraduate geoscientists: A summary of our approaches and experiences over the years</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2016/06/teaching-python-to-undergraduate-geoscientists/</link><pubDate>Sat, 18 Jun 2016 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2016/06/teaching-python-to-undergraduate-geoscientists/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>In 2010, a &lt;a href="http://ggorman.github.io/Introduction-to-programming-for-geoscientists/">new course&lt;/a> commenced at &lt;a href="http://www.imperial.ac.uk/engineering/departments/earth-science/">Imperial College London&lt;/a> that aimed to teach undergraduate geoscience students how to program in Python. Over the course of five years (2010 to 2014 inclusive) our teaching methodology evolved significantly in response to student feedback and examination performance. The course lecturers (&lt;a href="http://www.imperial.ac.uk/people/g.gorman">Gerard Gorman&lt;/a> and myself, &lt;a href="http://christianjacobs.uk">Christian Jacobs&lt;/a>) along with several of our Teaching Assistants also undertook Software Carpentry instructor training which offered a fantastic pedagogical insight into how to effectively teach novices how to program. As a result, many of our teaching techniques were influenced by this which helped to greatly improve our course. &lt;strong>In this blog post we summarise what we changed throughout the five years and why&lt;/strong>, in the hope that this will benefit other instructors currently offering, or planning to offer, an undergraduate computer programming course.&lt;/p></description></item><item><title>Designing a New Novice Python Lesson</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2016/04/novice-python-lesson/</link><pubDate>Sun, 10 Apr 2016 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2016/04/novice-python-lesson/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>Last November,
I volunteered to pull together a new full-day lesson on Python suitable for people with no previous programming experience.
It has taken longer to come together than I expected,
but that&amp;rsquo;s partly because I saw it as an opportunity to create a full-length example of
the &amp;ldquo;backward&amp;rdquo; lesson design method we teach in the instructor training class.&lt;/p>
&lt;p>What we have so far is in &lt;a href="https://github.com/swcarpentry/python-novice-gapminder">this GitHub repository&lt;/a>,
which is rendered at &lt;a href="http://swcarpentry.github.io/python-novice-gapminder/design.html">this site&lt;/a>.
We would be very grateful for input:
if you think crucial topics have been left out,
please say so,
while if there&amp;rsquo;s stuff that could be removed or re-ordered,
please say that as well.&lt;/p></description></item><item><title>Python Education Summit at PyCon 2016</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2016/03/python-education-summit/</link><pubDate>Wed, 23 Mar 2016 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2016/03/python-education-summit/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>The Python Education Summit is a gathering of educators from all venues (school, colleges, universities, community workshops, online courses, government) that share interest and passion in teaching Python.
It is an interesting opportunity for Software Carpentry instructors to get inspiration and tips from educators in completely different contexts.&lt;/p>
&lt;h2 id="schedule">Schedule&lt;/h2>
&lt;p>The Summit will take place at the Oregon Convention Center, same site of PyCon, on Sunday, May 29th, the 2nd day of the tutorials and the day before the main conference starts. It will run from 9am to 4:30pm.&lt;/p></description></item><item><title>A New Lesson on Testing</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/11/new-lesson-on-testing/</link><pubDate>Sun, 22 Nov 2015 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/11/new-lesson-on-testing/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>
 &lt;a href="{{site.baseurl}}/pages/team.html#huff.k">Katy Huff&lt;/a>
 has just posted a new lesson on
 &lt;a href="http://katyhuff.github.io/python-testing">testing and continuous integration with Python&lt;/a>
 drawn in part from
 &lt;a href="{{site.baseurl}}/pages/projects.html#eff-phys">the book&lt;/a>
 that she and &lt;a href="{{site.baseurl}}/pages/team.html#scopatz.a">Anthony Scopatz&lt;/a>
 recently published.
 There's a lot of useful material in here,
 all of it tested in the classroom&amp;mdash;please check it out.
&lt;/p></description></item><item><title>Python Lesson Rewrite</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/11/python-lesson-rewrite/</link><pubDate>Sun, 15 Nov 2015 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/11/python-lesson-rewrite/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;section>
 &lt;p>
 Recent
 &lt;a href="{{page.root}}/blog/2015/09/thinking-about-teaching.html">
 analysis
 &lt;/a>
 and
 &lt;a href="{{page.root}}/blog/2015/10/python-debriefing-summary.html">
 introspection
 &lt;/a>
 regarding Software Carpentry's Python lesson has led us to conclude that
 the lesson would benefit from a complete rewrite.
 The subcommittee on lesson development
 &lt;a href="http://pad.software-carpentry.org/python-lesson-planning-2015-10-14">met twice&lt;/a>
 to plan much about the new lessons (yes, that's plural).
 This post will describe our plans for the new lessons.
 &lt;/p>
 &lt;p>
 We're going to write two new Python lessons, one intended for students who
 are completely new to programming (the "novice" lesson),
 and another for students with some programming experience
 in any language (the "intermediate" lesson).
 &lt;a href="http://www.datacarpentry.org/">Data Carpentry&lt;/a> also targets
 new programmers so we'll be developing the new novice lesson in collaboration
 with DC, and both DC and SWC will use the lesson.
 We decided to use &lt;a href="http://www.gapminder.org/">Gapminder&lt;/a> data
 for both the novice and intermediate lessons in order to have a
 consistent experience and approachable, meaningful data
 (and because
 &lt;a href="{{site.github_url}}/r-novice-gapminder">some&lt;/a>
 &lt;a href="https://github.com/tracykteal/gapminder-spreadsheet">lessons&lt;/a>
 are already using it).
 &lt;/p>
&lt;/section></description></item><item><title>A Summary of Debriefing Feedback on Our Python Lesson</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/10/python-debriefing-summary/</link><pubDate>Thu, 08 Oct 2015 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/10/python-debriefing-summary/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>
 Last month,
 we discussed results from a survey of
 &lt;a href="{{site.baseurl}}/blog/2015/09/thinking-about-teaching.html">how our instructors are teaching Python&lt;/a>.
 We now have a summary of the feedback we've received in our bi-weekly debriefing meetings.
 The recurring themes are:
&lt;/p>
&lt;ol>
 &lt;li>&lt;p>A greater choice of exercises and multiple choice questions would allow instructors to select domain specific examples and cater to varying levels of learner.&lt;/p>&lt;/li>
 &lt;li>&lt;p>Some instructors added an explanation of the Jupyter notebook or Spyder IDE environments.&lt;/p>&lt;/li>
 &lt;li>&lt;p>Some instructors added an explanation of basic Python datatypes before presenting the lessons.&lt;/p>&lt;/li>
 &lt;li>&lt;p>Comments that there is too much material to fit into a workshop and that some sections seem rushed.&lt;/p>&lt;/li>
 &lt;li>&lt;p>Request for a better explanation of the advantages of the Anaconda Distribution at the start of workshops and resources for post workshop learning.&lt;/p>&lt;/li>
 &lt;li>&lt;p>Comments on presenters style were positive for funny and entertaining examples and negative for highly mathematical examples.&lt;/p>&lt;/li>
&lt;/ol></description></item><item><title>Feedback on Math with Python for Undergraduates</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/08/feedback-on-math-with-python/</link><pubDate>Fri, 21 Aug 2015 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/08/feedback-on-math-with-python/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>
 Ian Hawke (who put together &lt;a href="{{site.baseurl}}/blog/2015/04/close-enough-redux.html">these notebooks&lt;/a> on testing numerical code)
 is now putting together some Jupyter Notebooks
 to &lt;a href="https://github.com/IanHawke/maths-with-python">teach Python to first-year undergraduates in mathematics&lt;/a>.
 He would be grateful for feedback, and we'd be grateful if you could give him some:
 we'll learn a lot about what &lt;em>we&lt;/em> should teach from seeing what you think &lt;em>he&lt;/em> should.
&lt;/p></description></item><item><title>Prepping for the Python Lesson</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/08/prepping-for-the-python-lesson/</link><pubDate>Sun, 16 Aug 2015 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/08/prepping-for-the-python-lesson/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>
 Inspired in part by &lt;a href="trimming-the-python-lesson.html">Byron Smith's post&lt;/a>
 about trimming &lt;a href="{{site.github_io_url}}/python-novice-inflammation">our standard Python lesson&lt;/a>,
 Christina Koch has written a post of her own about
 &lt;a href="http://christinalk.github.io/blog/python-prep.html">preparing to teach that lesson&lt;/a>.
 She organizes her discussion around the motivating question that opens the lesson:
 "We have to accomplish a task (reading in data, analyzing and plotting it) by writing a program. How can we be smart about it?"
 It's a good read,
 as it shows how an experienced instructor thinks about (re-)designing teaching material.
 I hope her conclusions will feed into
 &lt;a href="{{site.github_url}}/python-novice-inflammation/issues/127">our discussion of how to revise the lesson&lt;/a>
 (which we're going to decide in September).
&lt;/p></description></item><item><title>Trimming the Python Lesson</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/08/trimming-the-python-lesson/</link><pubDate>Thu, 13 Aug 2015 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2015/08/trimming-the-python-lesson/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>
 We are close to releasing a new version of
 &lt;a href="{{site.github_url}}/python-novice-inflammation">our standard Python lesson&lt;/a>
 that uses Python 3 instead of Python 2.
 As soon as that's done,
 we're going to warm up &lt;a href="{{site.github_url}}/python-novice-inflammation/issues/127">this discussion&lt;/a>
 about fixing that lesson.
 One new contribution to that is &lt;a href="http://blog.byronjsmith.com/swc-python-lesson.html">this post&lt;/a> by Byron Smith
 about how he trimmed the existing lesson.
 If you have other experiences or comments,
 please add them to &lt;a href="{{site.github_url}}/python-novice-inflammation/issues/127">this GitHub issue&lt;/a>
 so that we can make decisions in September about what to include in Version 5.4 in November.
&lt;/p></description></item><item><title>Fourth Python Lecture for Software Carpentry</title><link>https://deploy-preview-705--carpentries-website.netlify.app/blog/2006/01/fourth-python-lecture-for-software-carpentry/</link><pubDate>Sun, 29 Jan 2006 00:00:00 +0000</pubDate><guid>https://deploy-preview-705--carpentries-website.netlify.app/blog/2006/01/fourth-python-lecture-for-software-carpentry/</guid><description>&lt;p>&lt;b>This post originally appeared on the &lt;a href="https://software-carpentry.org/">Software Carpentry website.&lt;/a>&lt;/b>&lt;/p>
&lt;p>The fourth lecture on Python for the &lt;a href="http://www.software-carpentry.org">Software Carpentry&lt;/a> course is now up. It covers sets, dictionaries, and a little bit of algorithmic complexity. Comments and criticisms are very welcome.&lt;/p>
&lt;p>And if that's too serious for year, check out the web site for the &lt;a href="http://www.waterfall2006.com/">Waterfall 2006&lt;/a> conference ;-).&lt;/p></description></item></channel></rss>