Language Selection

English French German Italian Portuguese Spanish

Python Programming: Django 3.0 Alpha, PyGame and More

Filed under
Development
  • Django 3.0 alpha 1 released

    Django 3.0 alpha 1 is now available. It represents the first stage in the 3.0 release cycle and is an opportunity for you to try out the changes coming in Django 3.0.

    Django 3.0 has a raft of new features which you can read about in the in-development 3.0 release notes.

  • Exploring pygame 5 - Movement and Collision

    Movement is part of a large portion of games. When jumping between platforms, shooting against a horde of enemies, piloting a space ship and running through the streets, we are causing movement and interacting with the game environment, applying action and causing reactions.

    This chapter is to describe the basics of moving objects across the screen and their interaction with other elements through collision detection.

  • Master Python List Comprehension in 2 Minutes

    This tutorial explains Python list comprehension in no more than 2 minutes. It is the fastest method to search a list, apply some condition, and return a new list with selected elements.

    You may find it similar to Python filter() method that filters values based on some condition. However, list comprehension has a powerful syntax which gives more options.

  • Absolute vs Relative Imports in Python

    If you’ve worked on a Python project that has more than one file, chances are you’ve had to use an import statement before. Even for Pythonistas with a couple of projects under their belt, imports can be confusing!

    If you’re reading this because you’d like to gain a deeper understanding of imports in Python, particularly absolute and relative imports, then you’ve come to the right place! In this tutorial, you’ll learn the differences between the two, as well as their pros and cons.

  • PyCoder’s Weekly: Issue #385 (Sept. 10, 2019)

More in Tux Machines

Allan Day: GNOME Shell user research goings on

It’s been a while since we last blogged about the GNOME Shell design work that’s been happening. While we might not have blogged in a bit, there’s been a lot going on behind the scenes, particularly on the research side, and it’s about time that we told everyone about what we’ve been up to. As a side note: a great team has developed around this initiative. The existing design team of Jakub, Tobias and myself has been joined by Maria Komarova from System76. Maria has a particularly strong research background and was immensely helpful in running interviews. The development side has also been fully engaged with the process, particularly through Georges and Florian. Read more

Android Leftovers

Apostrophe – distraction free Markdown editor

Markdown is a plain text formatting syntax created by John Gruber in 2004. It’s designed to be easy-to-read and easy-to-write. Readability is at the very heart of Markdown. It offers the advantages of plain text, provides a convenient format for writing for the web, but it’s not intended to be a replacement for HTML. Markdown is a writing format, not a publishing format. You control the display of the document; formatting words as bold or italic, adding images, and creating lists are just a few of the things we can do with Markdown. Mostly, Markdown is just regular text with a few non-alphabetic characters included, such as # or *. Apostrophe is a distraction free Markdown editor. It uses pandoc as backend for Markdown parsing and offers a very clean and sleek user interface. Read more

Audiocasts/Shows: DevNation Tech Talks, LINUX Unplugged and mintCast

  • Kubernetes: The evolution of distributed systems

    DevNation Tech Talks are hosted by the Red Hat technologists who create our products. These sessions include real solutions plus code and sample projects to help you get started. In this talk, you’ll learn about Kubernetes and distributed systems from Bilgin Ibryam and Burr Sutter. Cloud-native applications of the future will consist of hybrid workloads: stateful applications, batch jobs, stateless microservices, and functions (plus maybe something else) wrapped as Linux containers and deployed via Kubernetes on any cloud. Functions and the so-called serverless computing model are the latest evolution of what started as service-oriented architecture years ago. But is this the last step of the application architecture evolution and is it here to stay? During this talk, we will take you on a journey exploring distributed application needs, and how they evolved with Kubernetes, Istio, Knative, Dapr, and other projects. By the end of the session, you will know what is coming after microservices.

  • Distro Triforce | LINUX Unplugged 372

    What would it really take to get you to switch Linux distributions? We debate the practical reasons more and more people are sticking with the big three. Plus Carl from System76 stops by to surprise us with some firmware news.

  • mintCast 344 – Getting Jacked

    First up, in our Wanderings, I fiddle with the Focusrite, Tony Hughes paints it pink, Joe puts a ring on it, Bo gets jacked, Tony Watts reduces, reuses and recycles