include files?

Mel Wilson mwilson at the-wire.com
Fri Jun 20 08:57:01 EDT 2003


In article <3ef2f22f$0$49107$e4fe514c at news.xs4all.nl>,
"rgndrp" <erased*remove_this*@xs4all.nl> wrote:
>
>it would if i'd get it to work :)
>now it returns this cgi error:

Don't top-post.  Quote, trim for relevance,
then post succesive stuff.

He must have meant something like

    from applic import *

which (I think) will work, though it's not considered
the cleanest python.

Cleanest would be

    import applic       # happens to define myvar in module
...
    if some_var == applic.myvar:        # for instance
...

and so on.

        Regards.        Mel.




More information about the Python-list mailing list