File "..\googlevoice\util.py", line 3,
in <module>
ImportError: cannot import expat from xml.parsers
The actual code here is:
from xml.parsers.expat import ParserCreate
Hi, I'm trying to wrap pygooglevoice with a pretty C# Winform app
using IronPython. I'm VERY new to python and I've overcome a few
hurdles, but it looks like I need an experts eyes (or a beginners!)
(or an 'expats' eyes) to assist me with this one.
I get the above error when executing the IronPython ipy64.exe as
follows:
ip64.exe "c:\Users\nick\Downloads\pygooglevoice-0.5\googlevoice
\markasread.py"
The contents of markasread.py are as follows:
from googlevoice import Voice,util
voice = Voice()
voice.login('
emailA...@gmail.com', 'password here')
while True :
folder = voice.search('is:unread')
if folder.totalSize <= 0 :
break
util.print_(folder.totalSize)
for message in folder.messages:
util.print_(message)
message.mark(1)