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 in Techrights

21 Important Penetration Tools in Kali Linux

Kali Linux uses many kinds of penetration tools to assess the security situation of your devices and networks. Whether you are looking to advance your career as an ethical tester or find the vulnerabilities of your systems, these powerful tools yield excellent results. Almost all of them should be accessible from the main Kali Linux terminal. Note: if you are an ethical tester, you must have the necessary permissions to access another person’s device, unless you’re testing on your own devices. Read more

Hello, LineageOS 17.1

We have been working extremely hard since Android 10’s release last August to port our features to this new version of Android. Thanks to massive refactoring done in some parts of AOSP, we had to work harder than anticipated to bring some features forward, and in some cases, introduced implementations similar to some of our features into AOSP (but we’ll get to that later). First, let’s talk about naming versioning - you may be thinking “Shouldn’t this be 17.0, as AOSP is on 10, and not 10.1?”. and given our previous versioning, you’d be correct. When the December Android Security Bulletin (ASB) dropped, we rebased on the more feature filled Google Pixel 4/4 XL tag of AOSP. We decided that, in the future, if we decide for any reason to rebase a large number of repos on a different tag, we will uprev our subversion, eg. 17.0 -> 17.1. As per this migration, on March 4th, we locked all lineage-17.0 branches and abandoned existing 17.0 changes. Not to fear, you can always cherry-pick your changes to 17.1, even via the Gerrit UI if you’d like! Read more Also: LineageOS 17.1 released

Red Hat Enterprise Linux helps pioneering unmanned marine research

In 1620, the Mayflower embarked on an uncertain journey across the Atlantic Ocean, with more than 100 pilgrims on board hoping to begin a new life in the New World. Now, 400 years later, The Mayflower Autonomous Ship (MAS) will follow in the footsteps of the original ship from Plymouth, England to Plymouth, Massachusetts. Only this time, there will be no human captain or onboard crew. It will be one of the first full-sized, fully-autonomous and unmanned vessels to cross the Atlantic Ocean. The MAS project is a global collaboration led by marine research organization Promare. Conceived as a way to commemorate the 400th anniversary of the Mayflower voyage, it could have long-lasting implications for the shipping industry and the future of oceanographic research. The autonomous shipping market is projected to grow from $90BN today to over $130BN by 2030. However; many of today's autonomous ships are just automated and do not dynamically adapt to new situations. Using an integrated set of IBM's AI, cloud, and edge technologies, ProMare is aiming to give the Mayflower the ability to operate independently in some of the most challenging circumstances on the planet. Read more