[Tutor] Menu data from file

Neven Goršić neven.gorsic at gmail.com
Sun Apr 4 12:54:05 CEST 2010


I would like to import menu data from external txt file, but not as import
menudata.py, because then py2exe makes problems ...
I would like to preserve list structure like:

       ("&New\tCtrl+N", "Create new blank script", self.onNew),
       ("&Open\tCtrl+O", "Opens call script", self.onOpen),
       ("&Save\tCtrl+S", "Saves call script", self.onSave),
                  .  .  .


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100404/3fd0ae07/attachment.html>

More information about the Tutor mailing list