Language Selection

English French German Italian Portuguese Spanish

Programming: PyLint, C2x, Librem 5, Portable Document Format (PDF) in Python

Filed under
Development
  • Writing Cleaner Python Code With PyLint

    PyLint is a well-known static analysis tool for Python 2 and 3. It has a number of useful features, like checking your code for compliance with the PEP 8 Python style guide. It makes sure that your code follows the code style guide and it can also automatically identify common bugs and errors in your Python code.

    In this video series you’ll see how to install and set up the PyLint code linter tool. You’ll learn why you should use code linters like PyLint, Flake8, PyFlakes, or other static analysis tools—and how they can help you write cleaner and more Pythonic code.

    You can get this setup up and running in a few minutes and it’ll quickly help you write better and cleaner Python code.

  • LLVM Clang 9.0 Picks Up Initial C2x Language Mode

    Merged today to the mainline Clang compiler front-end is the initial C2x language mode support as what will eventually be the successor to the C18 programming language.

    C2x is still quite a ways out from release and its changes still under determination. At this stage the C2x language support for LLVM Clang is just enabling support by default for the [[attribute]] (double square brackets attribute; similar to C++) support.

  • Librem 5 App Design Tutorial – Part II

    Hello and welcome to the second of my series of blog posts on how to design your own, brand new app for the Librem 5.

    In my last post we went over the philosophy and process, goals and relevant art of building a read-it-later app; today we’ll be discussing sketches and mockups – specifically in what concerns navigation, article and article list screens, and desktops.

  • Working with PDFs in Python: Adding Images and Watermarks

    Today, a world without the Portable Document Format (PDF) seems to be unthinkable. It has become one of the most commonly used data formats ever. Up to PDF version 1.4, displaying a PDF document in an according PDF viewer works fine. Unfortunately, the features from the newer PDF revisions, such as forms, are tricky to implement, and still require further work to be fully functional in the tools. Using various Python libraries you can create your own application in an comparable easy way.

    This article is part two of a little series on PDFs with Python. In part one we already gave you an introduction into reading PDF documents using Python, and started with a summary of the various Python libraries. An introduction followed that showed how to manipulate existing PDFs, and how to read and extract the content - both the text and images. Furthermore, we showed you how to split documents into its single pages.

    In this article you will learn how add images to your PDF in the form of watermarks, stamps, and barcodes. For example this is quite helpful in order to stamp or mark documents that are intended to be read by a specific audience, only, or have a draft quality, or to simply add a barcode for identification purposes.

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story Introducing the XPS 13 developer edition, 9th generation Rianne Schestowitz 11 23/08/2019 - 6:32pm
Story today's leftovers Roy Schestowitz 23/08/2019 - 6:03pm
Story Android Leftovers Rianne Schestowitz 23/08/2019 - 5:56pm
Story Xfce 4.14 Lands in Tumbleweed Roy Schestowitz 23/08/2019 - 5:55pm
Story today's howtos Roy Schestowitz 23/08/2019 - 5:50pm
Story Wine 4.0.2 Released Roy Schestowitz 23/08/2019 - 5:47pm
Story 28 facts about Linux for its 28th birthday Roy Schestowitz 23/08/2019 - 5:26pm
Story Quick Guide to The Awesome GNOME Disk Utility Rianne Schestowitz 23/08/2019 - 5:26pm
Story LibreOffice 6.3 - Waiting for a miracle Roy Schestowitz 23/08/2019 - 5:18pm
Story AMD Ryzen 5 3400G Is Working Well On Linux Rianne Schestowitz 23/08/2019 - 5:12pm