Language Selection

English French German Italian Portuguese Spanish

Python Programming

Filed under
Development
  • PyDev of the Week: Connor Ferster

    This week we welcome Connor Ferster as our PyDev of the Week! Connor is the author of handcalcs which was recently featured on the PythonBytes Podcast.

  • Remove Element from an Array in Python

    This tutorial will go through some common ways for removing elements from Python arrays. Here's

  • "CodersLegacy": PySide vs PyQt | Understanding the difference

    Once people get to know about both PySide and PyQt, due to their similarities, people have a hard time picking one over the other. Here in this “PySide vs PyQt” article we’ll examine both libraries from multiple angles and attempt to come to a conclusion.

    The reason why we are comparing these two libraries is because both of them are Python bindings of the same GUI framework Qt. We’re here to compare both these bindings.

    We’ll start off with PyQt first as it’s the more poplar library and was released (officially) before PySide.

  • How to Deploy Your Open Source Package to PyPI

    I built a small PyBitesTips class to consume our Python tips from the command line. The code (project) is here

    Speaking of tips, here are some cool things I learned / re-used: - Make a class callable using the __call__ dunder (magic) method. - Use namedtuples and instantiate them with ** keyword args: [Tip(**tip) for tip in resp.json()] - Use paging of results with pydoc.pager. - Break down output creation and printing in different methods (and helpers) which made testing the code easier.

  • Automated Browser Testing with Opera and Selenium in Python

    When it comes to cross browser testing, we tend to focus on executing test cases for bigwigs like Google Chrome, Firefox, or Safari. What about the other browsers? What about Opera? Opera may not be your default browser, but it still is a popular web browser in the market and is especially loved in areas that don’t have high-speed Internet. This is because Opera performs quite well even at slow internet speeds. Owing to this, Opera has a market share of around 2.17% globally from July 2019 – July 2020 as per GS StatCounter. 2.17% may look like a small fraction, but we are referring to global statistics, meaning 2.17% of all the internet users. This could turn up to be a considerable number of leads for your business.

  • Python 3 Installation & Setup Guide

    Installing or updating Python on your computer is the first step to becoming a Python programmer. There are a multitude of installation methods: you can download official Python distributions from Python.org, install from a package manager, and even install specialized distributions for scientific computing, Internet of Things, and embedded systems.

  • No Module Named Numpy
  • New course: Testing your Python programs with pytest

    My first job was at a company that wrote software for hospitals. As you can imagine, our work needed to be really reliable — so we had an entire team dedicated to quality assurance (QA). Their job was to run our software for months at a time, given many different inputs, and to make sure that it didn’t cause trouble. I can tell you that the head of QA was the most feared person in my department. And yet, we all knew that his job was of utmost importance. If it weren’t for him, buggy software could go out the door, with catastrophic effects for people being treated in hospitals around the world.

    More than 25 years have passed since I had that job. And while not every program directly affects people’s lives, there’s no doubt that software is hugely influential. Buggy programs can not only hurt people, but lose money, destroy documents, give incorrect projections, and use up valuable resources.

  • Python Monthly August 2020

    Being a Python developer is a fantastic career option. Python is now the most popular language with lots of growing job demand (especially in the fields of Web, Data Science and Machine Learning). You have many job opportunities, you can work around the world, and you get to solve hard problems. One thing that is hard, however, is staying up to date with the constantly evolving ecosystem. You want to be a top-performing python developer, coder, programmer, software developer, but you don’t have time to select from hundreds of articles, videos and podcasts each day.

  • Montreal Python User Group: Quadratic Judo Code Sprint

    For the whole month of September, we code together on free and open source software in Python. Our effort will be centered on two projects: * French translation of the official Python documentation; * Voluntaria, a Django portal to help non-profits synchronize the effort of their volunteers.

    We have a wide range of tasks for both projects, ranging from easy to very advanced. We promise you a detailed overview of the tasks as well as an introduction to the mentors on the sprint opening night on Monday August 31st at 5:30pm. After the initial meeting, we stay in touch on the Montréal-Python Slack and with one sync-up meeting every Monday evening. The results of the sprint are going to be during Montréal-Python #80 (Pedal Kayak) on September 28, 2020.

  • How to Transcribe Speech Recordings into Text with Python

    When you have a recording where one or more people are talking, it's useful to have a highly accurate and automated way to extract the spoken words into text. Once you have the text, you can use it for further analysis or as an accessibility feature.

    In this tutorial, we'll use a high accuracy speech-to-text web application programming interface called AssemblyAI to extract text from an MP3 recording (many other formats are supported as well).

  • Catalin George Festila: Python 3.8.5 : Testing with openpyxl - parts 002 .
  • PSF GSoC students blogs: GSoC Weekly Blog #7
  • PSF GSoC students blogs: From console.log to GSoC 2020
  • PSF GSoC students blogs: Weekly Check-in #13
  • PSF GSoC students blogs: Outro
  • PSF GSoC students blogs: Final Work Report - Last Weekly Check-in
  • PSF GSoC students blogs: All Done!
  • PSF GSoC students blogs: Final Week Check-in
  • PSF GSoC students blogs: Final Blog Post
  • PSF GSoC students blogs: GSoC: Week #14

More in Tux Machines

GNU Octave 6.1 Released with Improvements / New Functions

GNU Octave 6.1 was released a few days ago with numerous improvements, bug-fixes, and a list of new functions. Changes in Octave 6.1 include... There’s no PPA repository contains the new release package at the moment of writing. Before the official Snap package and the community maintained Flatpak package publish the new package, you can download & build GNU Octave from the source tarball... Read more

RISC-V, the Linux of the chip world, is starting to produce technological breakthroughs

A decade ago, an idea was born in a laboratory at the University of California at Berkeley to create a lingua franca for computer chips, a set of instructions that would be used by all chipmakers and owned by none. It wasn't supposed to be an impressive new technology, it was merely supposed to get the industry on the same page, to simplify chip-making in order to move things forward. Read more

Cinnamon 4.8 Desktop Environment Released, This Is What's New

More than six months in development, Cinnamon 4.8 is finally here and it already made its appearance on the software repositories of the Arch Linux distribution. But, it is designed with Linux Mint users in mind, as they are the main target of this GNOME-based desktop environment for GNU/Linux distributions. The biggest new features in Cinnamon 4.8 include a new suspend-then-hibernate function that instructs the desktop environment to first suspend the system and then hibernate it after a certain period of time of inactivity. Read more

today's leftovers

  • Simplest Studio

    Simplest Studio is an application that allows you optimize and convert audio files. The following encoding modes are implemented: FLAC, WAV, DFF**, MP3.

  • November 2020 Web Server Survey

    The number of domains powered by Microsoft web server suffered another noticeable fall this month, dropping by 473,000 to 19.1 million (-2.41%), reducing its share to 7.25%. [...] Some of the most commonly visited websites powered by OpenResty include Tumblr, Firefox Monitor, Basecamp and a few adult video sites. The 36.6 million domains powered by OpenResty are served from just 81,900 computers.

  • Bing Features Pirated 'YTS' Movies and Even Finds Some on YouTube

    Increasingly, homepages of popular pirate sites are disappearing from search engines. In some cases, however, search engines help pirate brands to stand out. Bing, for example, highlights YTS movies with a fancy poster reel and it even manages to spot some full-length pirate releases on YouTube and the Internet Archive.