Adding methods to Python classes
The normal way to add functionality (methods) to a class in Python is to define functions in the class body. There are many other ways to accomplish this that can be useful in different situations.
The weblog of the Block Research Group
The normal way to add functionality (methods) to a class in Python is to define functions in the class body. There are many other ways to accomplish this that can be useful in different situations.
Summer is finally here in Zurich, and that means the BRG (BBQ Research Group) is back in action. With a brand new grill, beautiful weather and Alps in the background, we witnessed the dream run of Wales in the 2016 European Championship come to an end. Now we must sit through another 90 minutes (or 120 minutes…) of Portuguese football and haircuts…
Including Python code in LaTeX papers is very simple and convenient with the “listings” package. Documentation of the package is part of the (awesome) LaTeX wikibook…
Sublime Text is great, but using it properly is not as transparent as what most of us are used to. I will try to list here some of the things i had to figure out to start working efficiently.