shanenin Posted April 16, 2007 Report Share Posted April 16, 2007 I have spent the last year pretty much reloading Windows and diagnosing blue screens. I have pretty much forgotten how to do anything in python. I have the following code to get the data in the windows clipboardimport win32con, win32clipboardwin32clipboard.OpenClipboard()win32clipboard.GetClipboardData(win32con.CF_TEXT)raw_input()when I run these commands one at a time in an interpreter they return the clipboard data. When I run the commands as a script they do not return anything. Am I missing something simple? Quote Link to post Share on other sites
shanenin Posted April 16, 2007 Author Report Share Posted April 16, 2007 I needed a print statement. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.