Help Please: 'module' object has no attribute 'compile'

livin livin at
Sat Jan 7 17:37:29 CET 2006

I beleive so... I cannot know for sure becasue the models are not 
separate... they are in the python23.zlib file... I'm no sure how to check 
the file, it looks as if it is compiled (I'm new to python so forgive my 

"Kent Johnson" <kent at> wrote in message 
news:43beeb5d$1_1 at
> livin wrote:
>> my log...
>> INFO urllib.urlopen('', 
>> urllib.urlencode({'Action': 'hs.ExecX10ByName+Kitchen+Lights%2C+On 
>> %2C+100&x=4&y=6'}))
>>  INFO   File "Q:\python\python23.zlib\", line 78, in urlopen
>> INFO   File "Q:\python\python23.zlib\", line 159, in open
>> INFO   File "Q:\python\python23.zlib\", line 957, in splittype
>> INFO AttributeError
>> INFO :
>> INFO 'module' object has no attribute 'compile'
> That line reads
>         _typeprog = re.compile('^([^/:]+):')
> Do you have a module named 're' that is shadowing the library module of 
> the same name?
> Kent 

More information about the Python-list mailing list