Python Current Shell Scripting