Re: [python-win32] Problem with win32com and scikits timeseries

2011-01-28 Thread Mauro
I tried to dig a little further in this, but with no success. I can import the module with no problem and I can't replicate the error outside of the COM object. If I run in pythonWin the following lines >>> from win32com.server.policy import _import_module >>> a= _import_module('scikits.timeserie

Re: [python-win32] How to use win32file.TransmitFile with nonblockingsockets?

2011-01-28 Thread Roger Upole
If you want the final result it returns, you kinda have to wait for it to finish. Roger "Giampaolo Rodolà" wrote in message news:aanlktikeldqhypzjitdoxs2mcvws4w8qxhmya9ycz...@mail.gmail.com... Point of asynchronous programming is that all function calls should return immediately. "wait

Re: [python-win32] How to use win32file.TransmitFile with non blockingsockets?

2011-01-28 Thread Giampaolo Rodolà
Point of asynchronous programming is that all function calls should return immediately. "wait for an async operation to complete" sounds kinda wrong to me. --- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ 2011/1/28 Roger Upole : > Giampaolo Rodolà wrote: >> Hi

Re: [python-win32] How to use win32file.TransmitFile with non blockingsockets?

2011-01-28 Thread Roger Upole
Giampaolo Rodolà wrote: > Hi all, > I'm trying to take advantage of TransmitFile function in pyftpdlib: > http://code.google.com/p/pyftpdlib/issues/detail?id=152 > > I've noticed pywin32 provides a wrapper: > http://sourceforge.net/tracker/index.php?func=detail&aid=1962146&group_id=78018&atid=55195

[python-win32] How to use win32file.TransmitFile with non blocking sockets?

2011-01-28 Thread Giampaolo Rodolà
Hi all, I'm trying to take advantage of TransmitFile function in pyftpdlib: http://code.google.com/p/pyftpdlib/issues/detail?id=152 I've noticed pywin32 provides a wrapper: http://sourceforge.net/tracker/index.php?func=detail&aid=1962146&group_id=78018&atid=551956 The example shown in there, thoug