for new portable python style