Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • Python 101 – Learning About Tuples

    Tuples are another sequence type in Python. Tuples consist of a number of values that are separated by commas. A tuple is immutable whereas a list is not. Immutable means that the tuple has a fixed value and cannot change. You cannot add, delete or modify items in a tuple. Immutable objects are useful when you need a constant hash value. The most popular example is the key to a Python dictionary.

  • PyCharm 2020.1 Beta 2

    PyCharm is approaching its release, and this beta is yet another waypoint we’re passing. The new Beta version of PyCharm can now be downloaded from our website.

  • Webinar Recording: “Django with PyCharm Tips and Tricks” with Paul Everitt
  • Python Bytes: #174 Happy developers use Python 3
  • Starting the Onboarding Flow - Building SaaS #49

    In this episode, we worked on the progress element that will display in every step of the onboarding flow. I added some labels and styled the banner using Tailwind CSS. At the end of the stream, we boxed in the shape of the welcome page with some placeholder elements.

    The very first thing I did was insert a top bar that was unstyled to the top of the welcome page. We added some placeholder text for each of the steps in the onboarding flow. After that, I started styling the UI until it took shape.

    We talked about design elements like color and spacing and some aesthetic qualities that help make a user interface feel better.

    After completing a first cut of the top bar navigation, I shifted to the welcome page and added vector art and placeholder text to give the page some life.

  • How to Create Python Virtual Environment on Ubuntu 18.04 & 16.04

    The Virtualenv is used to create an isolated environment for Python application. It provides separate environment to application that system environment. This tutorial will help you to create a Python virtual environment on Ubuntu 19.10, 18.04 and 16.04 LTS systems.

  • "Coder's Cat": Python: Generator and Yield

    In this post, let’s discuss some basics for the generator in Python. What’s the benefit for generator, and how we use yield to implement generator.

  • A Flexible Open Source ERP Framework To Run Your Business - Episode 255

    Running a successful business requires some method of organizing the information about all of the processes and activity that take place. Tryton is an open source, modular ERP framework that is built for the flexibility needed to fit your organization, rather than requiring you to model your workflows to match the software. In this episode core developers Nicolas Évrard and Cédric Krier are joined by avid user Jonathan Levy to discuss the history of the project, how it is being used, and the myriad ways that you can adapt it to suit your needs. If you are struggling to keep a consistent view of your business and ensure that all of the necessary workflows are being observed then listen now and give Tryton a try.

More in Tux Machines

today's howtos

Games: Debian-Based SteamOS, Lutris 0.5.5 and Critters for Sale

  • SteamOS Isn’t Dead, Just Sidelined; Valve Has Plans To Go Back To Their Linux-Based OS

    It’s big news for any PC gamer that has been frustrated with Microsoft’s erroneous-laden grip on operating systems for as far back as 1995; with it comes a monumental blow to privacy, not to mention mere control of your PC; updates have a tendency to start when they want to, new OS licenses must be purchased if you change hardware configurations, and applications that Microsoft doesn’t want you using are notoriously finicky to get working. Of course, users can simply switch over to Linux if they have had their fill of Microsoft. That switch comes with a slew of changes, however, and dropping reliable applications is a part of the grieving process that must take place when attempting to switch over your OS. Linux does host a plethora of open-source tools that can take the place of past applications; GIMP in lieu of Photoshop, for example. Yet the old applications are never truly replaced 1 for 1; it’s more of a bandage than anything else. Even with WINE and other techniques developed over the years to help users with Linux use Windows software, there are plenty of pitfalls and inconveniences that stymie any attempts to maintain Linux over Windows.

  • Lutris 0.5.5 Linux Game Manager Adds Humble Bundle Support, Initial VKD3D Support

    Lutris 0.5.5 is out today as the newest version of this Linux game manager to assist in installing both native and emulated games on Linux. Lutris continues to expand the scope of its "runners" for improving the Linux gaming experience. While the version 0.5.5 number may not seem like a big deal, there is actually a lot to find with the Lutris 0.5.5 update. Among the changes with Lutris 0.5.5 are: - Initial support for Humble Bundle integration.

  • Try out 'Critters for Sale', an exhilarating short horror visual novel with two episodes out now

    The absolutely exhilarating short horror visual novel Critters for Sale, which was originally released the first day of 2019, had its second chapter ("Goat") available for some time (Jun 2019, actually). Considering how such a hidden gem it is I was going to write about it, but Liam ended up doing it first in this GOL article. [...] It still maintains the same fever-dream like visuals, game mechanics and layout, consisting on a left HUD with some key information, a central upper section where all the images and animations are displayed, along with some point and click elements, and finally a center lower section where you see the dialogues and options to advance the story in the available directions. However, regarding the premise, now it features other characters and a different setting, but since this is one of those games where the less you know the better, I will only say that although we're only grasping the surface of the whole mystery, and while the tone of the story still keeps a personal scope, at this point it's clear that those responsible for the plot's main threat not only have enough power to influence the entire world, but also directly encompass the whole history of mankind...

Linux Kernel: Linux 5.7, Linux Security and Intel Gen9 Graphics On Linux

  • AMD Sensor Fusion Hub Laptop Driver Unlikely To Land For Linux 5.7

    While we were hoping to see the AMD Sensor Fusion Hub driver introduced in Linux 5.7 for improving the AMD Ryzen Linux laptop experience, that now looks quite unlikely. This driver has been sought after by AMD Linux laptop customers since 2018 for supporting the accelerometer, gyroscopic sensors, and other functionality on modern AMD laptops, similar to the Intel Sensor Hub. Patches for the AMD Sensor Fusion Hub (AMD-SFH) driver for Linux were posted in January and underwent a few rounds of review.

  • Amazon Engineer's Patch For Flushing L1 Cache On Context Switching Revved

    Earlier this month there was the proposal by a Linux kernel engineer for Amazon to flush the L1 data cache on context switches as another safeguard against the ever increasing CPU vulnerabilities. The motivation for flushing the L1d cache on context switches is driven as a result of Intel's data sampling vulnerabilities and this safeguard would be an opt-in feature for those paranoid about system security. Flushing the L1 cache would ensure the data is not being snooped or leaked following a context switch but with all of the cache flushing could significantly hamper the system performance.

  • HDR Display Support Coming To Some Intel Gen9 Graphics On Linux

    For the very common Intel "Gen9" graphics found on pretty much all current pre-Icelake hardware that is available through retail channels, high dynamic range (HDR) display support could soon be enabled under Linux for a subset of devices.

Android Leftovers