Can this be reversed (Tkinter)?

mark mark at diversiform.com
Fri Jan 2 15:49:08 EST 2004


I am looking at the format used by root.geometry().  The string returned
from root.geometry() is "%dx%d+%d+%d".  Is there a quick and painless
way to extract the values from that string (i.e., "100x150+25+25" =>
(100,150,25,25))?
 
- Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040102/82bf8581/attachment.html>


More information about the Python-list mailing list