main logo
Subject: Re: [dabo-dev] The problem with __name__
Author: Paul McNett

Posted: 2004/10/31 18:13:59
 
View Entire Thread
New Search


Ed Leafe wrote:
> On Oct 31, 2004, at 5:55 PM, Paul McNett wrote:
>
>> I say this only because we are now in the position to name it, and in
>> the future we'll have to live with the decision. Many Python scripts
>> will have main() functions, so perhaps it would be better if we chose
>> something that pretty much guarantees the given script is a dabo script.
>
>
> Why? I don't see any downside to letting people run any script, if
> that's possible. It would be great to let them play with Python, trying
> out stuff they find without having to go through the whole
> python/wx/MySQLdb installation routine.

Well, there's nothing guaranteeing a given script will have a main()
function, so a given script may or may not work anyway.

--
Paul McNett - http://paulmcnett.com
vcard: http://paulmcnett.com/pm.vcf

 
©2004 Paul McNett
<-- Prior Message New Search Next Message -->