Monthly Archives: April 2017

How do callbacks work?

By | April 14, 2017

Confused about how callbacks work? Check out this really neat example. def say_hello(value, callback): print value callback() def say_name(): print “Fra” say_hello(“ciao”, say_name) Ref: https://bytesforlunch.wordpress.com/2012/03/15/simple-callback-implementation-in-python/

Useful Windows Commands

By | April 3, 2017

Windows + R, then: winver – will show you your windows version. shell:startup – will open explorer to the place where if you place short cuts to batch files, these will auto run on start up. netplwiz – will allow you to remove password on boot.