All pastes #348288 Raw Edit

Untitled

public text v1 · immutable
·published 2007-02-10 01:28 UTC
rendered paste body
        self.update_idletasks()        self.update_idletasks()
        App_height = root.winfo_geometry()
        App_height = re.sub('\+[0-9]\+[0-9]', '', App_height, count=0)
        App_height = re.sub('[0-9]+x', '', App_height)

"""
output from tktodisc
./tktodisc
Using default theme
718+341+41
718+341+41
718+341+41
718+341+41
718+341+41
718+341+41

output from command line interpreter:
>>> App_height = "469x718+341+41"
>>> print App_height
469x718+341+41
>>> App_height  = re.sub('\+[0-9]\+[0-9]', '', foo, count=0)
>>> print App_height
610x349
>>> App_height  = re.sub ('[0-9]+x', '', App_height)
>>> print App_height
349