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

Where’s the Yelp for open-source tools?

It would be great if there were a genuinely useful rating system that would help people discover excellent but less-visible open-source projects. But an easy way to work out which of the tens of thousands of projects are the vital, important ones – a software Yelp, if you will – doesn’t exist. It may never come to be. Hope springs eternal. Brian Profitt, Red Hat‘s Open Source Program Office (OSPO) manager, is working with others on a new project to make it easy to evaluate open-source projects: Project CHAOSS. This Linux Foundation project is devoted to creating analytics and metrics that help define open-source community health. Read more

DragonFly 5.8.2 released

I tagged and built 5.8.2 today, and it should be appearing on a mirror near you, momentarily. Read more

Deepin Desktop Review: A Stylish Distro and Desktop Environment

In this Linux Desktop Environment review, we have a slightly controversial choice. Deepin, both as a distribution and as a Desktop Environment, is one that not everybody feels comfortable using and trusting. However, we’ll be setting that aside, dispelling some myths, and looking at the beautiful Deepin Desktop Environment (DDE), its user experience, some notable features, and giving some recommendations on where to experience it and who should use it. Read more

The 10 Best Raspberry Pi Emulators Available in 2020

Raspberry Pi is a mini-computer as well as a marker board that comes with all the hardware built-in and is designed to make coding easier. You will find everything necessary, including RAM, CPU, and GPU on the boards. However, no matter how perfect Raspberry Pi looks, it isn’t capable of doing a lot of things, including running x86 apps. As a result, we need the Raspberry pi emulators to help us with the problems. One of the most amazing uses of these emulators is to play any of your favorite classic retro games using them on your Pi board. Read more