[python-win32] Recycle bin deletion date - mixing shell and winshell?

2018-01-11 Thread Durumdara
Dear Members! I tried to find a way to get the file deletion date from recycle bin files. As I see the IShellFolder's GetDisplayNameOf don't give me data about it, only original and real filename. The winshell module ( https://winshell.readthedocs.io/en/latest/recycle-bin.html) retreives recycle

[python-win32] Python - connexion to serial port

2018-01-11 Thread Schoeni, Yann
Hey there ! I've a web application which needs to send data to a serial port. The webserver uses ajax to send data to a python script. The Python script uses the serial module to open, send data, and close the serial port. Is there a way to keep the serial port open ? Because for now, I open/

Re: [python-win32] Python - connexion to serial port

2018-01-11 Thread Preston Landers
You could have a worker thread or process that keeps the serial port open and listens for jobs on some kind of task queue. However it's not clear to me how keeping the serial port open between requests provides assurance of data integrity. On Thu, Jan 11, 2018 at 9:27 AM Schoeni, Yann wrote: >

Re: [python-win32] Recycle bin deletion date - mixing shell and winshell?

2018-01-11 Thread Tim Roberts
Durumdara wrote: > > The winshell module > (https://winshell.readthedocs.io/en/latest/recycle-bin.html) retreives > recycle bin files for me, I can see the deletion date, but not the > real filename in filesystem (to I can delete the older ones). The documentation does not describe it, but if you