Add python implementation of my_uptime for BSD