This is a python implementation of the SHA256 command-line program, for operating systems that lack it.
Articles tagged with "python3"
This script “image for LaTeX” is meant for generating LaTeX figure environments of pictures.
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.
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.
More and more, IPython has become my tool of choice as the ultimate calculator and to try out concepts and code for use in my programs.
While I generally use the terminal-based interactive shell, notebooks offer more capabilities for integrating text, formulas and graphics.
With Python 2.7 effectively mostly ...
As an engineer, I often do diverse calculations that I want to save in my logbooks which I write in LaTeX. Up to now I’ve either formatted those by hand or used the listings package to include calculations made in IPython.
From the release of version 3.2, the py-stl software has been renamed to stltools. The reason I made this change mostly has to do with how FreeBSD handles packages. Programs that require an interpreter are prefixed with its name and version. So py-stl would become py27-py-stl, which would be ...
One of the things I liked about the old rcs revision control system was that it supported keyword expansion in files. Unlike systems like rcs, cvs and subversion, the git revision control system cannot provide keyword expansion. The cause for this is that you can’t modify a file with ...
Sometimes one has to convert numbers from and to different formats. Below are some examples in Python 3 that I picked up over time. What you see are excerpts of IPython sessions.
To and from hexadecimal (base 16):
In : hex(100) Out: '0x64' In : int(0xa7) Out ...