Sometimes you get some PDF files, from which you have to extract some data. A handy way of doing this is using the pdftotext utility. Here I’ll show you how to use it, using Python. The easiest way to do this, is to put the pdftotext program in the directory where your script is or in the path. You can then call it on your file. This is the Python code : import subprocess subprocess.
Hello, this is my blog. It’s basically just used to store code snippets so I can find them later on. The focus is definitely on techie stuff, although some travel posts will make it on here as well.
Some pictures of a trip to Bangkok and Hua Hin in Thailand and Angkor Wat in Cambodia
Angkor Wat at dawn
To insert the current file name in Vim, go to insert mode. Then type Control-R % . With Control-R you can do more things : Control-R =5*4 This inserts 20 into the current cursor position. Some examples can be found here
Some pictures of a trip to Firenze, Siena and Pisa.
The Duomo, hard to get on a picture, very narrow streets all around it
Copyright (c) 2025 Michel Hollands