Language Selection

English French German Italian Portuguese Spanish

Python Programming

Filed under
Development
  • Beets – music tagger and library organizer using the MusicBrainz database

    The music scene is where I’m happiest. As an amateur musician, I devote an inordinate amount of time developing my technique, practicing, practicing, and practicing. I also love listening to music, both live and recorded. Linux is my other passion. It’s endowed with a bewildering arsenal of open source multimedia software, so I’ve invested a lot of time reviewing a fair chunk.

    Over the years I’ve amassed a bountiful eclectic music collection. In my formative years, that was mostly pop music but over the years I’ve progressed to classical, jazz, blues, techno, and even a smattering of heavy metal. While I have a large collection of vinyl and CDs, I mostly listen to FLAC files these days. FLAC is an audio coding format for lossless compression of digital audio.

    Where does beets step in? If your music collection is in a sorry state of affairs with missing or incomplete track details, metadata, duplicate tracks, missing tracks, then beets might just fit the bill. Besides metadata, the software also grabs album art, lyrics, transcodes audio to a wide variety of formats, and much more. It’s a library that’s designed to be as flexible as possible.

  • Python Lists

    Python includes a number of sequential data types that allow you to store collections of data in an organized and efficient way. The basic sequence types are lists, tuples, and range objects.

    This article goes through the Python lists. We’ll show you how to create a list, slice and sort a list, add or remove elements from a list, and so on.

    Lists are mutable sequences, which means that they can be changed after creation. Lists are one of the most commonly used data types in Python and are generally used to store collections of items of the same type.

  • Flask Delicious Tutorial : Building a Library Management System Part 1 - Planningc

    This tutorial aims at helping all learners of Python: businessmen, students, tinkerer and teachers learn web development with Python using Flask. One of the joys of Python is fun programming and web development seems to bring another level of happiness. This is dedicated once again to all Python learners! I've pulled in this tutorial from my own experience teaching Python and client requests. So be sure to roll up your sleeves as it'll be more than a toy app and requires some work as real world apps have more features. I'd be not so nice if in real life you get to develop something without a project statement. I'll also cover some secret techniques i found along my Python dev experience!

  • Effective Developers Leverage Their Toolset

    Last week I did a couple of shared screen sessions debugging and teaching.

    I paused and reflected on the tools I used and how I sharpened my sword over the years.

    This is not an article on how to deploy software with Docker, how to use git, or how to set up your env, although it has some shell and Vim goodness.

    It's more about how small tweaks made me more productive as a programmer and learner.

  • PyDev of the Week: Pablo Galindo Salgado

    This week we welcome Pablo Galindo Salgado (@pyblogsal) as our PyDev of the Week! Pablo is a core developer of the Python programming language. He is also a speaker at several Python related conferences.

    [...]

    I am currently working at Bloomberg L.P. in the Python infrastructure team, supporting all our Python developers and providing critical infrastructure and libraries to make sure everyone has better experience programming in Python. But before working on the Software industry I used to be in academia as a theoretical physicist researching general relativity and in particular, black hole physics. This is something that I still do as a hobby (although without the pressures of publication and funding) because I still love it! For instance, I have given some talks in some Python conferences related to this (https://www.youtube.com/watch?v=p0Fc2jWVbrk) and I continue developing and researching improved algorithms to simulate and visualize different spacetimes. For example, here you have some simulated Kerr Newman black holes with accretion disks around them I have worked on recently:

  • Learn Python Identity Operator and Difference Between “==” and “IS” Operator

    This article is mainly curated to explain an important operator in python (“IDENTITY OPERATOR”) and how an identity operator differs (is, is not) from comparison operator (==).

  • What is Celery beat and how to use it – part 2, patterns and caveats

    Celery beat is a nice Celery’s add-on for automatic scheduling periodic tasks (e.g. every hour). For more basic information, see part 1 – What is Celery beat and how to use it.

    In this part, we’re gonna talk about common applications of Celery beat, reoccurring patterns and pitfalls waiting for you.

More in Tux Machines

KDE neon Rebased on 20.04

KDE neon is our installable Linux with continuous integration and deployment. It’s based on Ubuntu who had a new Long Term Support Release recently so we’ve rebased it on Ubuntu 20.04 now. You should see a popup on your install in the next day or so. It’ll ask you to make sure your system is up to date then it’ll upgrade the base to 20.04 which takes a while to download and then another while to install. Afterwards it should look just the same because it’s the same wonderful Plasma desktop. Read more Also: KDE neon Is Now Based on Ubuntu 20.04 LTS (Focal Fossa)

Everything You Need to Know About Linux Ubuntu Server

As you should probably know, Linux powers the majority of the web we see today. This is mainly because Linux systems are inherently more secure and stable than other systems. There are several types of Linux distributions for powering servers. Some notable ones include Ubuntu, Red Hat, Debian, and CentOS. Ubuntu, in particular, has been enjoying a surge in popularity as a server distro in recent times. In this guide, our editors have outlined why the Linux Ubuntu server is outgrowing many of its competitions. Stay with us throughout this guide to learn why Ubuntu shines as a server distro. Read more

Byte – music player designed for elementary OS

I spend an inordinate amount of time listening to music. My favorite pastime is to see an eclectic range of bands, solo artists, and orchestras live. It’s such a life-changing and exhilarating experience. It’s one thing to be sitting at home listening to a CD or watching music videos on TV or on YouTube, but being in the audience, packed out in a stadium or music hall, takes it to another level. But it’s an expensive pastime, and on hold given the current coronavirus pandemic. These days, I’m listening to music from my CD collection which I’ve encoded to FLAC, a lossless audio format. Linux is endowed with a plethora of open source music players. And I’ve reviewed the vast majority. But I seem to keep finding interesting music players. Byte is the latest I’ve stumbled across. Byte is a GTK-based music player. It was created with the desire to make a good music player for elementary OS. It focuses on two aspects: features and design. Byte isn’t tied to elementary OS; it runs on other Linux distributions. It’s in a fairly early stage of development, with its initial release only back in August 2019. Read more

AMD Ryzen Embedded SBC Review with Ubuntu 20.04

DFI GHF51 Ryzen Embedded SBC runs about as well in Ubuntu 20.04 as it does in Windows 10. Everything basically works and performs well. Our testing shows AMD Ryzen Embedded R1606G processor to offer slightly better performance than the top of the line Intel Gemini Lake Pentium J5005 processor. I also had one of the same issues as in Windows: one Seagate USB hard drive would not work reliability at all with transfer stalled. That’s probably just a hardware incompatibility, as the drive works with other platforms, and other USB storage devices achieve normal performance when connected to DFI SBC. I also noticed some artifacts with one 3D graphics benchmark, but those did not show up in other 3D accelerated programs. DFI GHF51 is an impressive piece of hardware as it packs lots of CPU and GPU power in a form factor similar to Raspberry Pi 4 SBC. I’d like to thank DFI for sending a review sample. If you plan to buy in large quantities to integrate the board into your product, you could contact the company via the product page. It’s used to be available as a sample on the company’s DFI-ITOX online store for $378, but it has been taken down since last time. Read more