Make python global use flag