knusper2000 + code 11
argparse – Command line option and argument parsing. - Python Module of the Week
21 days ago by Knusper2000
The argparse module was added to Python 2.7 as a replacement for optparse. The implementation of argparse supports features that would not have been easy to add to optparse, and that would have required backwards-incompatible API changes, so a new module was brought into the library instead. optparse is still supported, but is not likely to receive new features.
python
work
programming
code
21 days ago by Knusper2000
Armadillo: C++ linear algebra library
january 2012 by Knusper2000
Armadillo is an open-source C++ linear algebra library (matrix maths) aiming towards a good balance between speed and ease of use. Integer, floating point and complex numbers are supported, as well as a subset of trigonometric and statistics functions.
library
math
work
programming
code
january 2012 by Knusper2000
PyChecker: a python source code checking tool
august 2011 by Knusper2000
PyChecker is a tool for finding bugs in python source code. It finds problems that are typically caught by a compiler for less dynamic languages, like C and C++. It is similar to lint. Because of the dynamic nature of python, some warnings may be incorrect; however, spurious warnings should be fairly infrequent.
python
programming
test
work
tool
code
august 2011 by Knusper2000
Parallel Python - Home
july 2011 by Knusper2000
PP is a python module which provides mechanism for parallel execution of python code on SMP (systems with multiple processors or cores) and clusters (computers connected via network).
python
programming
library
development
opensource
software
tools
code
work
july 2011 by Knusper2000
GNU Source-highlight - GNU Project - Free Software Foundation (FSF)
july 2011 by Knusper2000
This program, given a source file, produces a document with syntax highlighting.
programming
gnu
tools
opensource
code
documentation
software
work
july 2011 by Knusper2000
ropemacs, rope in emacs
march 2011 by Knusper2000
Ropemacs is a plugin for performing python refactorings in emacs. It uses rope library and pymacs.
emacs
python
programming
tools
extension
development
code
software
march 2011 by Knusper2000
Python main() functions
march 2011 by Knusper2000
For Python programmers, I've got some suggestions on how to write a main() function that's easy to invoke in other contexts, e.g. from the interactive Python prompt when you feel like experimenting.
python
programming
tips
code
development
march 2011 by Knusper2000
Daily comic strips - Ganneff's Little Blog
february 2011 by Knusper2000
So, instead I went and did a little rewrite of it. In a simple and pure bash script. I duplicated the functionality of the daily mode (fetch images per day and put them into a daily subdirectory, create html files for them) and didn’t bother with the “fetch a random strip one” as I never used that. Turned out at 276 lines of shell script that can even fetch alt/title and not break on funny characters in them, yay.
bash
script
scripting
code
programming
shell
february 2011 by Knusper2000
ECB - Emacs Code Browser
january 2011 by Knusper2000
ECB stands for "Emacs Code Browser". While Emacs already has good editing support for many modes, its browsing support is somewhat lacking. That's where ECB comes in: it displays a number of informational windows that allow for easy source code navigation and overview.
emacs
programming
development
tools
code
software
editor
work
january 2011 by Knusper2000
Life Is Too Short For Bad Code
january 2011 by Knusper2000
Random musings about programming, software, technical interviews, and of course Emacs - a tip every week for new and experienced users.
emacs
programming
blog
tips
development
tutorial
code
tools
january 2011 by Knusper2000
Prompt Before Closing Emacs
august 2010 by Knusper2000
Using GUI versions of Emacs, I sometimes find myself hitting C-x C-c and wishing I didn’t because I really intended to kill the current buffer, not completely close Emacs.
emacs
hack
code
snippet
work
august 2010 by Knusper2000
Copy this bookmark: