Re: How to avoid windows console with stdin
don cole wrote:
>
> Hello Mike,
>
> Open a window.
>
> sequence line
> fn=open{"yourfile.txt","r")
> Open your file and read it, line=gets(fn).
>
> Put the text in your window with, wPuts(yourWindow,line)
>
> Also see get() it may be easier to get it all at once.
>
> Hope this helps.
>
> Don Cole
> Don Cole
Thanks for the input, Don, but I guess I'm not communicating my question very
well. Here is what I am trying to do:
sequence data
data = gets(0)
When I do this from within a windows program (using win32lib), it causes a
console screen to appear, even though I already have a window open. I want
to avoid the console screen coming up. Any ideas on that? Getting the input
from a file other than 0 (standard input) is not an option for this
application.
|
Not Categorized, Please Help
|
|