Monthly Archives: February 2013

Import sympy

I had just had a look at sympy’s documentation and it provides good support for solving differential equations. Sample this . Solving a differential equation would be as simple as this which gives   f(x) == C1*exp(x) as the ouput. I also tried an example given in my book. which again gives me  f(x) == C1*exp(-x) […]

Positioning of widgets in PyQt4

A short note on positioning of widgets in PyQt4 . Let say you have a layout , a button and few labels. If I press a button and a label should become invisible , your code should look something like this. The problem with this however is , it automatically repositions your labels such that […]