Hi Everybody,<br><br>Hope someone can point me some direction...<br><br>I got python linking to lotus notes, under Eclipse IDE. The code is:<br><br>import pythoncom<br>import pywintypes<br>from win32com.client import Dispatch<br>
session=Dispatch("Lotus.NotesSession")<br>session<br><br>print pythoncom.CreateGuid()<br><br>try:<br>    session.Initialize("password")<br>    db = session.getDatabase("local", "C:\Program Files\lotus\notes\data\mydata.nsf") <br>
    <br>    agent=db.getAgent("($All)")    <br>    doc = db.CreateDocument()<br>    view = db.GetView("($All)")<br>    doc = view.getFirstDocument()<br>    <br>    testvar = doc.getItemValue("($All)") <br>
<br>except pywintypes.com_error: raise<br><br>but the compiler gives me the error:<br><br>".nsf has not been opened yet"<br><br>Any suggestion? Thanks. ThreaderSlash<br><input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML">
</div>