Python useful examples