Some Python small programs