[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi All,
know that Microsoft Exchange has a com interface, CDO, but I can't seem to
find one for Microsoft outlook.
does anyone have code snippets for using msoutlook and python, or
suggestions?
Check out:
Scott Souva [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Your script may be working properly, but XP simply removes the window
after the script runs. Here is a simple fix that will stop at the end
of the script and leave the Command window open:
print Hello World
raw_input()
Mudcat [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I am trying to build a tool that analyzes stock data. Therefore I am
going to download and store quite a vast amount of it. Just for a
general number - assuming there are about 7000 listed stocks on the two
major markets
Para Windows:
import win32api
handle = win32api.OpenProcess(1, False, pid_del_proceso)
win32api.TerminateProcess(handle, -1)
win32api.CloseHandle(handle)
Yves Glodt [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Andres de la Cuadra wrote:
Hola, me llamo Andres de la cuadra, soy un
Peter Hansen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Fredrik Lundh wrote:
Daniel Crespo wrote:
os.spawnl(os.P_NOWAIT, c:/windows/notepad.exe)
1944
I don't get the correct PID.
When I do os.spawnl(os.P_NOWAIT, c:/windows/notepad.exe)
I get 168 (for example), while in
Mark Line [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello!
snip
I've also managed to connect to my access database, and just print out a
field in a table, but I cant find anywhere on the web that will help me to
import data? Any help would be great?!
snip
Another method
Alex Willmer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
When reporting file sizes to the user, it's nice to print '16.1 MB',
rather than '16123270 B'. This is the behaviour the command 'df -h'
implements. There's no python function that I could find to perform this
formatting ,
from win32com.client import Dispatch
from time import sleep
ie = Dispatch('InternetExplorer.Application')
ie.Visible = 1
ie.Navigate(http://ispds-sepsr.prv:7500/cs/welcome.jsp;)
while ie.ReadyState != 4:
sleep(1)
doc = ie.Document
while doc.readyState != complete:
sleep(1)
frost [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I am trying to login a website that using PHP and javascript. This is
what happend if you browse that website using IE, after you login, you
can go anywhere without enter your name and password again, as long as
you keep
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Resurrecting an old thread..
It seems that this solution does not return events on objects within
frames in webpages eg . if you go to www.andersondirect.com - the page
is composed of three frames called as topFrame main and
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sorry about that I had an instance of ie running in the background that
was version 0 didn't see the problem tell this morining when my
computer started to not work. it should be hwnds[1] should be
hwnds[0]. I woud enumerate them
that I can launch them programmatically, but I'm hoping that
someone can give me a definitive answer.)
J Correia [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Right, I hadn't quite understood your problem when I posted my reply. The
code
posted does work and allow navigation, etc
Chris Curvey [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
thanks for all the help. I'll give the ShellExecute() approach a try
in the morning.
The short version of what I'm trying to do is
Have my website login to a 3rd party website on behalf of my customer,
fill out a
Chris Curvey [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I need to create a set of IE instances that have different sets of
session cookies. I thought that using the win32com.DispatchEx function
would do this, but it doesn't seem to. In other words
ie1 =
Esben Pedersen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How do i know which methods the ie object has? dir(ie) doesn't show
Navigate.
For ie object:
http://msdn.microsoft.com/workshop/browser/webbrowser/reference/ifaces/IWebBrowser2/IWebBrowser2.asp
For document object:
Elliot Temple [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How do I make Python press a button on a webpage? I looked at
urllib, but I only see how to open a URL with that. I searched
google but no luck.
For example, google has a button input type=submit value=Google
Search
Roger Upole [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
There does appear to be some sort of conflict between the two event
hooks. I wasn't seeing it before since IE was getting google from my
browser cache and it was coming up almost instantaneously. As soon
as I switched the
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Thanks for the response again. The solution is pretty close but not yet
complete
This is what I observed.
a) I tried to use the delay mechanism as suggested below
ie.
ie.Navigate('www.google.com')
while ie.ReadyState !- 4
Roger Upole [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Something like this should be close:
import win32com.client, pythoncom
ie=win32com.client.Dispatch('internetexplorer.application')
ie.Visible=1
ie.Navigate('somepagewithjavascript.html')
Assuming you're just trying to get rid of the message each time the program
runs, the following suppresses it:
import warnings
warnings.filterwarnings('ignore', category=FutureWarning)
HTH,
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo