Basic Python scripting