Python + Win32: Cut/Paste w/o GUI

Tim Daneliuk tundra at tundraware.com
Sat Oct 5 01:20:07 CEST 2002


Martin v. Loewis wrote:
> Tim Daneliuk <tundra at tundraware.com> writes:
> 
> 
>>Can this be done?
> 
> 
> Sure. When the console window opens, paste the text into that window
> (using the context menu). The text will show up in sys.stdin.read() -
> just like Unix.
> 
> HTH,
> Martin

Sorry, I was not specific enough.  What you suggest should work.  But, what
I want is so be able to paste the text to the *icon that invokes the shortcut*
thereby starting the program with the desired text available as described.
Sort of a drag-n-drop of text onto a non-GUI script is what I'm after...



-- 
------------------------------------------------------------------------------
Tim Daneliuk
tundra at tundraware.com




More information about the Python-list mailing list