Roland's homepage

My random knot in the Web

Articles tagged with "python3"

  1. PDF tricks

    This article contains several useful tricks for manipulating PDF files.

    The focus of this article is on Open Source and Free software, that are available for UNIX-like operating systems. These tools are made for use on the command-line of a shell.

    Adding password restrictions to a PDF file

    PDF …

  2. Updating python3 to 3.6

    This article document how I updated python3 from version 3.5 to 3.6 on FreeBSD.

    This article is written for FreeBSD 11-STABLE amd64. The procedure on other supported FreeBSD versions should be similar if not identical. Commands following a “>” can be run as an unprivileged user. Commands following …

  3. Parallel execution with Python

    With Python it is relatively easy to make programs go faster by running things in parallel on multiple cores. This article shows you how.

    We sill concentrate on a type of problem that is easy to parallelize.

    Problem description

    Suppose you have a huge number of files and a program …

  4. Updating Python to 3.5

    This article documents the process I followed to update Python 3.4 to 3.5 on my FreeBSD machines.

    Introduction

    The goal is to replace Python 3.4 and all the packages that depend on it by Python 3.5. Normally I would use portmaster for updating but at the …

  5. Python bindings for libmagic

    This documents how I installed Python bindings for libmagic.

    There are actually different bindings for libmagic. One set is part of the original distribution. It can be found in /usr/src/contrib/file/python/. But in my opinion it is somewhat cumbersome to use and not very Pythonic.

    The implementation …

  6. SHA256 in pure Python

    This is a python implementation of the SHA256 command-line program, for operating systems that lack it.

    Its options and output are based on the version available in FreeBSD. But of all the options available in the FreeBSD version it currently only supports the -c option.

    The sha256.py script can …

  7. img4latex

    This script “image for LaTeX” is meant for generating LaTeX figure environments of pictures.

    It handles the same picture types that pdfLaTeX can handle; pdf, jpeg and png. To be able to do this, it requires the PostScript interpreter ghostscript and the identify program from the ImageMagick suite.

    This script …

  8. Managing configuration files with ‘deploy’

    The deploy script is a program for managing configuration files. This script grew out of my need for a multi-functional installer for configuration files. I tend to keep those files in a separate git repository rather than changing my $HOME into a git repository.

    History

    On UNIX, there is the …

  9. Opening files from the command line

    This Python script is a small helper to open files from the command line. It was inspired by a OS X utility of the same name.

    A lot of my interaction with the files on my computers is done through a command-line shell, even though I use the X Window …


←  Page 1 Page 2 / 4 Page 3 →