I've been using the code below for 20 years now for text copy & paste.
No guarantees, though.
Regards,
Dietmar
def copy_to_clipboard(text, window_handle=0):
"""copy_to_clipboard(window_handle, text):
copy a string to the clipboard."""
win32clipboard.OpenClipboard(window_handle)
Am 10.02.2012 09:03, schrieb niki:
On 9.02.2012 20:41, Tim Roberts wrote:
Yes. If this is an issue for you, then you should not be using an
interpreted language at all. You need to use something that is
compiled, like C++. Even compiled code can be reverse-engineered, but
it's much harder.
Am 04.02.2012 02:38, schrieb Mark Hammond:
Not running the postinstall script just means that pywintypesxx.dll and
pythoncomxx.dll aren't in system32. Assuming you have control over the
environment this is running in, just ensuring those files are on the
PATH should be sufficient.
Yes, I have
Am 01.02.2012 20:56, schrieb Roman Morawek:
Is there any alternativ package available, which allows me to
import/export MS project files?
MS Project can write and read XML files.
Maybe that's good enough for you. Just save a project as XML and have
a look. The structure is not too complicated.
Am 09.05.2011 03:03, schrieb Mark Hammond:
Where exactly does things get stuck? Do you see that print statement, or
is it app.MainLoop which fails to return?
The main loop retuns such that I see the print statement.
But the interpreter does not exit.
Even if I move the win32ui import right
Hi!
I'm observing some strange interaction between wxPython and win32ui
on Windows 7 PCs.
I've been using DDE code from Pythonwin which in turn uses win32ui.
When I use win32ui and SetToolTipString from wxPython in the same
program, the Python interpreter will not exit any more (until it's