Ed Leafe wrote:
On Aug 24, 2005, at 11:49 AM, Paul McNett wrote:

BTW, the last lines (the "if __name__=='__main__'" section) of the Dabo demo Ed posted can be reduced to:

if __name__ == '__main__':
    app = dabo.dApp(MainFormClass=DaboDemoForm).start()


    Yecch! Looks like one of those perl obfuscation contests!  ;-)

You're right, it was too long. How's this one:

if __name__ == '__main__':
    dabo.dApp(MainFormClass=DaboDemoForm).start()

;)


--
Paul McNett
http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to