I\'m writting a Word document and I\'d like to paste a formatted code-snippets directly from clipboard.
At this moment I am able to write these snippets into an .htm
Well, I've found a solution for this.
http://code.activestate.com/recipes/474121-getting-html-from-the-windows-clipboard/
It's work pretty well... if anyone wants more information about the clipboard just take a look here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms649013(v=vs.85).aspx
Download the pywin32 module and with win32clipboard you can do everything.