[python-win32] bluetooth communication ?

2009-07-25 Thread Stef Mientki

hello,

I want to make a program that synchronizes (automatically in the 
backgroud) a netbook with a desktop PC through bluetooth.
I tried pybluez, but on 2 of the 3 computers it gave an error message, 
bluetooth device not found.

And that problem comes from the compiled pyd library,
so I'm stuck there.

Are there any other ways (Windows only),
to enumerate the bluetooth network and transfer a few files ?

thanks,
Stef Mientki
I
___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


Re: [python-win32] Problem with Python win32com while loading facebookhomepage

2009-07-25 Thread Michel Claveau

Hi!

The code below run OK for me.  (Do not remove the sleep)

@+
--
Michel Claveau 




# -*- coding: utf-8 -*-

import win32com.client
import time

ie = win32com.client.Dispatch('InternetExplorer.Application')
time.sleep(4)
ie.Visible=1
ie.Navigate('http://www.facebook.com')
time.sleep(4)
txt=ie.Document.Body.innerHTML
ie.Quit()
time.sleep(0.250)
del(ie)
print type(txt)
print
print txt.encode('cp850','replace')


___
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32