Kay Schluehr wrote:
> On 5 Apr., 23:08, Michael Torrie <[EMAIL PROTECTED]> wrote:
>
>> You need to either fix all these imports in these other modules (that
>> are probably in the site_packages folder), or modify the python import
>> path so that it can find ElementTree directly.
>
> I'd prefer
On 5 Apr., 23:08, Michael Torrie <[EMAIL PROTECTED]> wrote:
> You need to either fix all these imports in these other modules (that
> are probably in the site_packages folder), or modify the python import
> path so that it can find ElementTree directly.
I'd prefer to set an alias in the module c
Rory McKinley wrote:
> Gary Herron wrote:
>
>> Python has no such thing as this kind of a "global scope". (True, each
>> module has its own global scope, but that's not what you are talking
>> about.) So you'll have to fix the import for *every* module that needs
>> access to ElementTree.
Gary Herron wrote:
> Python has no such thing as this kind of a "global scope". (True, each
> module has its own global scope, but that's not what you are talking
> about.) So you'll have to fix the import for *every* module that needs
> access to ElementTree.You might make the change a
Rory McKinley wrote:
> Hi
>
> I am trying to use the TidyHTMLTreeBuilder module which is part of
> elementtidy, but I am getting what appears to be some sort of scope
> error and it is scrambling my n00b brain.
>
> The module file (TidyHTMLTreeBuilder.py) tried to import ElementTree by
> doing t
On 5 Apr., 17:27, Rory McKinley <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am trying to use the TidyHTMLTreeBuilder module which is part of
> elementtidy, but I am getting what appears to be some sort of scope
> error and it is scrambling my n00b brain.
>
> The module file (TidyHTMLTreeBuilder.py) tried
Hi
I am trying to use the TidyHTMLTreeBuilder module which is part of
elementtidy, but I am getting what appears to be some sort of scope
error and it is scrambling my n00b brain.
The module file (TidyHTMLTreeBuilder.py) tried to import ElementTree by
doing the following:
from elementtree imp