how to modify a globin variable from a python script code example Example: how to make variable global in python global variable variable = 'whatever'