---
title: Blog posts tagged "python"
description: Canonical makes open source secure, reliable and easy to use, providing
  support for Ubuntu and a portfolio of enterprise-grade technologies. Founded in
  2004, Canonical operates globally with team members in over 80 countries.
url: https://canonical.com/blog/tag/python?format=md
---

# Blog posts tagged "python"

#### [Craft Parts – Reusable code, Snapcraft style](https://canonical.com/blog/craft-parts-reusable-code-snapcraft-style)

Throughout the ages, humans have always used simpler tools and materials to create more complex ones. Wood and stone for smelting bronze and iron; iron to create steel; vacuum tubes to create logical gates; logical gates to create advanced arithmetic engines, and so on. Modern software is no different. With Snapcraft in particular, the sn

---

Company

#### [Regex basics](https://canonical.com/blog/regex-basics)

An overview of regex and how to use it, from a few different angles. Including appropriate warnings like ‘avoid regex’.

---

Design

#### [An Introduction to Testing Robot Code](https://canonical.com/blog/an-introduction-to-testing-robot-code)

The myriad of different fields that make up robotics makes QA practices difficult to settle on. Field testing is the go-to, since a functioning robot is often proof enough that a system is working. But online tests are slow. The physical environment must be set up. The entire system has to be in a workable

---

Robotics

#### [PSA for ROS users: Some things to know as Python 2 approaches EOL](https://canonical.com/blog/psa-for-ros-users-some-things-to-know-as-python-2-approaches-eol)

We recently got an interesting question from a customer, and I think the answer might be helpful to a wider audience. Python 2 will reach end of life in two months. This shouldn’t be news to anyone who hasn’t been living under a rock, and plans are in place to use Python 3 in Noetic

---

Robotics

#### [Snapcraft parts & plugins](https://canonical.com/blog/snapcraft-parts-plugins)

Last week, we published Introduction to snapcraft, a tutorial that provided a detailed overview of the snap build process. We touched on the concepts like snap ecosystem components, snapcraft command line, snapcraft.yaml syntax, and more. We’d like to expand on the first lesson, and today, we are going to talk about parts and plugins, use

---

Desktop

#### [Your first robot: Introduction to the Robot Operating System [2/5]](https://canonical.com/blog/your-first-robot-introduction-to-the-robot-operating-system-2-5)

This is the second blog post in this series about creating your first robot with ROS and Ubuntu Core. In the previous post we walked through all the hardware necessary to follow this series, and introduced Ubuntu Core, the operating system for IoT devices. We installed it on our Raspberry Pi, and used it to

---

Desktop

#### [Howdy, Windows! A Six-part Series about Ubuntu-on-Windows for Linux.com](https://canonical.com/blog/howdy-windows-a-six-part-series-about-ubuntu-on-windows-for-linux-com)

I hope you’ll enjoy a shiny new 6-part blog series I recently published at Linux.com.The first article is a bit of back story, perhaps a behind-the-scenes look at the motivations, timelines, and some of the work performed between Microsoft and Canonica

---

Cloud and server

#### [Keynotes from my first PyCon – friendly and inspiring](https://canonical.com/blog/keynotes-from-my-first-pycon-friendly-and-inspiring)

Last weekend I went to my first Pycon, my second conference in a fortnight. The conference runs from Friday to Monday, with 3 days of talks followed by one day of “sprints”, which is basically a hack day. PyCon has a code of conduct to discourage any form of othering: Happily, PyCon UK is a

---

Company

#### [Python learnings from PyCon](https://canonical.com/blog/python-learnings-from-pycon)

The weekend before last, I went to PyCon UK 2015. I already wrote about the keynotes, which were more abstract. Here I’m going to talk about the other talks I saw, which were generally more technical or at least had more to do with Python. Summary The talks I saw covered a whole range of

---

Company

#### [So You Want to Write a Snappy App?](https://canonical.com/blog/so-you-want-to-write-a-snappy-app)

Introduction If you are anything like me, you love to write apps for Ubuntu. Like the Ubuntu phone two years ago, snappy is a bit of a green field in terms of IoT related apps. If you are like me and have a Beagle Bone and a Raspberry Pi 2 and several old netbooks and

---

Cloud and server
