get notepad on windows to front via tcp-server

Chetan Gadgil cgadgil_list at cxoindia.dnsalias.com
Tue Mar 2 04:10:31 EST 2004


> 
> Using these methods from a python shell works as expected, 
> but using a tcp-client/server construct gives me notepad in the rear.

That sounds painful. ;)


Do you think that using an edit control is suitable for your purpose?
i.e. if you can avoid using notepad, you can have much better control
over your controls.


> I read an old thread from '98 about something very much 
> related to this, but it used tk which I don't want to. 
> Besides, the thread ended undecidedly.
> 
> 2)
> >From a python shell using
> os.system("write") or
> os.system("start /w write")
> gives me an exit code (zero) before I have closed the 
> application wordpad. So os.system() is not waiting as I 
> thought it should. Can this be explained?
> 
> I have NOTEPAD.EXE in C:\windows and notepad.exe and 
> write.exe in C:\windows\system32.
> 
> Any help would be greatly appreciated.
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 





More information about the Python-list mailing list