473,573 Members | 2,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access lotus notes using Python

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

Thanks
Sateesh
Jul 19 '05 #1
13 15098
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.clien t).

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

http://www.dominopower.com/issuespri...8/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
Jul 19 '05 #2
On 5/23/05, Sateesh <sa***********@ yahoo.com> wrote:
Hi,
Is it possible to access Lotus notes using Python? Can anyone provide me
some pointers?


http://www.google.com/search?q=pytho...tes&btnI=Lucky

--
Cheers,
Simon B,
si***@brunningo nline.net,
http://www.brunningonline.net/simon/blog/
Jul 19 '05 #3
"Sateesh" <sa***********@ yahoo.com> 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
Jul 19 '05 #4
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.clien t).


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.
Jul 19 '05 #5
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.clien t).

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.
Jul 19 '05 #6
> >>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 mesome pointers?

This might help you get started once you've installed the win32 modules.
http://tinyurl.com/a9ocy

Jul 19 '05 #7
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" <re************ *************** **@gmail.com> wrote in message
news:Vd******** *******@newssvr 33.news.prodigy .com...
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 mesome pointers?

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

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.

Jul 19 '05 #8
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

Jul 19 '05 #9
try this

import win32com.client
session = win32com.client .Dispatch('Lotu s.NotesSession' )
session.Initial ize(r'pppppppp' )
db = session.GetData base('',r'ddddd ddd.nsf')
view = db.GetView(r'vv vvvvvv')
doc = view.GetFirstDo cument()
print doc.GetFirstIte m('iiiiii').Val ues

domino return string as unicode

Jul 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4995
by: NickBlooruk | last post by:
Hello, I have successfully linked a Lotus Notes server to our SQL Server database using an ODBC connection. This works fine when wanting to select records eg openquery(LOTUSNOTES2, 'select * from Person' ) The problem I have is when I try to update the record I get an error eg update openquery(LOTUSNOTES, 'select * from Person where
5
11612
by: Grzegorz ¦lusarek | last post by:
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
1
9704
by: Dodge Brown | last post by:
Hi All Has anyone got a reference point where I can get an example of sending an email via Lotus Notes using Access 2k. Thanks in Advance Dodge
0
5604
by: PZ Fosbeck | last post by:
I'm not a Lotus Notes developer but thanks to this group's archives have successfully created a function for sending Lotus Notes emails from Access. The follow code works great except I want to remove my name from the 'Sent By' portion of the email. These messages are sent using my client session of Lotus Notes, using a database called...
1
3488
by: gunsupancar | last post by:
is there any module to access TimesTen in-memory database using python?
0
1491
by: Heinz K | last post by:
Hi all, is it possible to access a Lotus Notes database even if Lotus Notes is not installed on current computer? I have an IIS and want to create a Webservice which accesses data from a Lotus Notes Server. I found solutions if Lotus Notes is installed locally, but on my IIS Notes is not and will not be installed. Is it nevertheless...
1
13036
by: Joe | last post by:
HI Has anyone been able to work with lotus notes automation classes??? Can you post sample code of how to use these classes. I have setup in VB but I am not able to port to C# This is what I have so far - I cannot create a session and not sure how to setup From/Subject
1
4115
by: user | last post by:
Anyone tried this combination? Im not able to get Dominoes set up properly. I'm getting a lil pissed. There isn't much documentation on Notes. Any kind souls can give some advice? Thanks
3
2734
by: Bob Alston | last post by:
I am trying to access lotus notes documents. I am able to do this but the view in notes I have available contains multiple types of documents. I only want one of the types of documents. When i getfirstdocument or getnextdocument how can i tell which type of document it is? Bob
0
7781
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8027
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8202
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7788
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5594
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5292
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3733
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2216
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1041
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.