Follow me
-
Recent Posts
calendar
Recent Comments
- Stan on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Cormac on Pandas : how to compare dataframe with None
- LP on AWK: the substr command to select a substring
- jrab on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
Archives
Categories
Meta
Daily Archives: September 22, 2011
Set the default printer under linux
If you want to set the default printer, you can use the command line interface and type: export PRINTER=printer-nameexport PRINTER=printer-name If you want to set the default printer permanently, and if your shell is bash (most common by default), you … Continue reading
super() function in Python raises a TypeError
Playing with class inheritance, I came across an unexpected behavior of super() function, which is used in the inheritance process. Consider this simple example of a class MyGraph thah inherits from a DiGraph class from networkx: import networkx as nx … Continue reading