include files?

Mel Wilson mwilson at
Fri Jun 20 14:57:01 CEST 2003

In article <3ef2f22f$0$49107$e4fe514c at>,
"rgndrp" <erased*remove_this*> 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