Re: Access lotus notes using Python 2.5.1

2010-08-11 Thread Michel Claveau - MVP
Hi!

In several cases, Notes is not registred as COM server.
Depending of installation.

@-salutations
-- 
MCi
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-24 Thread Sateesh
Hi,
What I am trying to do is to retrieve data from Lotus Notes Domino server
and display the results in some specific format. I initially thought of
doing it using Java JDBC (specifically thru JdbcDomino.jar file), but was
not successful in getting the jar file (looks like IBM has removed the
support for JDBC for LotusNotes).
So now I am trying Python to get my work done. I downloaded pywin and
installed it. I am trying ways to connect to the Domino server, but could
not get hold of the API to do so. Also pywin itself seems to be having lots
of bugs.

Any help is appreciated.

regards,
Sateesh

Kartic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 The Great 'Michael Ströder' uttered these words on 5/23/2005 2:43 PM:
  Kartic wrote:
 
 The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM:
 
 
 Is it possible to access Lotus notes using Python? Can anyone provide
me
 some pointers?
 
 Yes, you can... You need the win32all distribution installed and you can
 access Notes using the COM interface (win32com.client).
 
 
  There could be even more cross-platform programming options depending
  what access Lotus Notes really means for the original poster.
 
  Depending on configuration a Domino server might have several Internet
  protocol services for accessing Notes data (POP3, IMAP, LDAP, etc.).
 
  Ciao, Michael.


 So I guess it upto the Sateesh to tell whether he needs more information
 or not.


-- 
http://mail.python.org/mailman/listinfo/python-list

Re: Access lotus notes using Python

2005-05-24 Thread Thor Arne Johansen
Sateesh wrote:
 Hi,
 Is it possible to access Lotus notes using Python? Can anyone provide me
 some pointers?
 
 Thanks
 Sateesh
 
 

NotesSQL is an ODBC driver for Notes.

Using NotesSQL and a python odbc connection you can use the standard 
python db-api2 to access tables.

(Examples of odbc connection: mxODBC or the odbc provided by win32all)

HTH,

Thor Arne Johansen
Technical Director
Ibas AS

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-24 Thread [EMAIL PROTECTED]
try this

import win32com.client
session = win32com.client.Dispatch('Lotus.NotesSession')
session.Initialize(r'')
db = session.GetDatabase('',r'.nsf')
view = db.GetView(r'')
doc = view.GetFirstDocument()
print doc.GetFirstItem('ii').Values

domino return string as unicode

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-24 Thread jm
Lotus Domino Designer 6.5.1 Help (instaled by notesdesigner)

see section LotusScript/COM/OLE Classes   LotusScript Classes A-Z

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-24 Thread Dan Poirier
Peter Dembinski [EMAIL PROTECTED] writes:

 Sateesh [EMAIL PROTECTED] writes:

 Hi,
 Is it possible to access Lotus notes using Python? Can anyone
 provide me some pointers?

 jython + LN Java bindings may be usable

Yes.  I do this all the time.

-- 
Dan Poirier -- Email: my last name at pobox dot com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-23 Thread Simon Brunning
On 5/23/05, Sateesh [EMAIL PROTECTED] wrote:
 Hi,
 Is it possible to access Lotus notes using Python? Can anyone provide me
 some pointers?

http://www.google.com/search?q=python+lotus+notesbtnI=Lucky

-- 
Cheers,
Simon B,
[EMAIL PROTECTED],
http://www.brunningonline.net/simon/blog/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-23 Thread Kartic
The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM:
 Hi,
 Is it possible to access Lotus notes using Python? Can anyone provide me
 some pointers?
 
 Thanks
 Sateesh
 
 

Yes, you can... You need the win32all distribution installed and you can 
access Notes using the COM interface (win32com.client).

Google for Lotus Notes Python gave the following as the first match.

http://www.dominopower.com/issuesprint/issue28/command.html

Dig around.

Win32-perl has some nice COM examples for accessing Notes also. You can 
convert the Perl-win32 examples to  Python rather easily without knowing 
much perl.

Cheers,
-Kartic
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-23 Thread Peter Dembinski
Sateesh [EMAIL PROTECTED] writes:

 Hi,
 Is it possible to access Lotus notes using Python? Can anyone
 provide me some pointers?

jython + LN Java bindings may be usable

-- 
http://www.peter.dembinski.prv.pl
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-23 Thread Michael Ströder
Kartic wrote:
 The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM:
 
 Is it possible to access Lotus notes using Python? Can anyone provide me
 some pointers?
 
 Yes, you can... You need the win32all distribution installed and you can
 access Notes using the COM interface (win32com.client).

There could be even more cross-platform programming options depending
what access Lotus Notes really means for the original poster.

Depending on configuration a Domino server might have several Internet
protocol services for accessing Notes data (POP3, IMAP, LDAP, etc.).

Ciao, Michael.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Access lotus notes using Python

2005-05-23 Thread Kartic
The Great 'Michael Ströder' uttered these words on 5/23/2005 2:43 PM:
 Kartic wrote:
 
The Great 'Sateesh' uttered these words on 5/23/2005 7:14 AM:


Is it possible to access Lotus notes using Python? Can anyone provide me
some pointers?

Yes, you can... You need the win32all distribution installed and you can
access Notes using the COM interface (win32com.client).
 
 
 There could be even more cross-platform programming options depending
 what access Lotus Notes really means for the original poster.
 
 Depending on configuration a Domino server might have several Internet
 protocol services for accessing Notes data (POP3, IMAP, LDAP, etc.).
 
 Ciao, Michael.


So I guess it upto the Sateesh to tell whether he needs more information 
or not.
-- 
http://mail.python.org/mailman/listinfo/python-list