Linux Format

Developing with Pi

-

Since the Raspberry Pi was released, the official operating system has been Raspbian, and in late 2016 we saw the release of the latest version, named Pixel. It brought an improvemen­t in the general speed and interface, as well as updated and new software. To develop using Python you can use either Python 2 or 3 via the IDLE Python editor, or for those who prefer a more flexible editor you can now use Geany, a common editor in the Linux community with a series of plugins that can turn it into a programmin­g powerhouse for many different languages, not just Python.

Nor is the Pi just for programmin­g. It can be a low-power server for your files, or a web server. The power of Linux is that it can be used on many different devices, all with a different spec. So your home file server can be a Raspberry Pi Zero W with a large USB hard drive attached.

As Raspbian is based on Debian it is relatively straightfo­rward to install and update the software you need using the APT packaging tool. This should be your first port of call should you need to add any software, even for Python libraries. But should the library you require not be available via APT you can also use PIP, Python’s package manager, to install new libraries. It too can be run from the Linux terminal.

Newspapers in English

Newspapers from Australia