Re: Python and lotus notes

2015-04-20 Thread gianluca . pucci
Il giorno lunedì 20 aprile 2015 10:29:42 UTC+2, gianluc...@gmail.com ha scritto: > Hi, > > i am having a problem when i try to access lotus notes with python, think i > do all ok but it seems something is going wrong because i can't print any db > title even if i've opened the .nsf file. > > My

Re: Python and lotus notes

2015-04-20 Thread Dave Angel
On 04/20/2015 04:29 AM, gianluca.pu...@gmail.com wrote: Hi, Hi and welcome. I don't know Lotus Notes, but i can at least comment on some of your code, pointing out at least some problems. i am having a problem when i try to access lotus notes with python, think i do all ok but it seems so

Python and lotus notes

2015-04-20 Thread gianluca . pucci
Hi, i am having a problem when i try to access lotus notes with python, think i do all ok but it seems something is going wrong because i can't print any db title even if i've opened the .nsf file. My code: import win32com.client from win32com.client import Dispatch notesServer='Mail\wed\new\

Python and Lotus Notes

2005-11-13 Thread bisj
I would like to interact with Lotus Notes. I wrote following: >>> from win32com.client.dynamic import Dispatch >>> ln=Dispatch('Lotus.Notessession') then, following exception come out: Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\Lib\site-packages\win32com\client\

Re: Python and Lotus Notes

2005-11-04 Thread thakadu
I have had success with jython using the notes.jar classes, for example: import lotus.domino import java.io import java.net import java.lang import java.util lotus.notes.NotesThread.sinitThread() S = lotus.notes.Session.newInstance(); db=S.getDatabase("server/domain","domlog.nsf") agent=db.getAge

Re: Python and Lotus Notes

2005-11-04 Thread Graham Fawcett
Marco Aschwanden wrote: > The second line of your code is already a show stopper in my case: > > from win32com.client import Dispatch > session = Dispatch('Lotus.NotesSession') > session.Initialize('my_secret_passwort') > > When started, ends: > [snip] > AttributeError: Lotus.NotesSession.Initiali

Re: Python and Lotus Notes

2005-11-04 Thread Marco Aschwanden
The second line of your code is already a show stopper in my case: from win32com.client import Dispatch session = Dispatch('Lotus.NotesSession') session.Initialize('my_secret_passwort') When started, ends: File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line

Re: Python and Lotus Notes

2005-11-02 Thread Grzegorz Ślusarek
thank you Graham Now I know how to get it thru And i have last question is it possible send mail from Lotus via Python/COM? Once Again Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and Lotus Notes

2005-11-02 Thread Graham Fawcett
Grzegorz Slusarek wrote: > Hello everyone. I have to get data from Lotus Notes and i curious is it > possible doing it with Python. I heard that Lotus Notes using COM, so > the Python does so maybe it can be done? Anyone have any experiences > doing that? > Ane help will by apreciated Yes, it's p

Python and Lotus Notes

2005-11-02 Thread Grzegorz Ślusarek
Hello everyone. I have to get data from Lotus Notes and i curious is it possible doing it with Python. I heard that Lotus Notes using COM, so the Python does so maybe it can be done? Anyone have any experiences doing that? Ane help will by apreciated Gregor -- http://mail.python.org/mailman/lis