py2exe - return information from .exe program

Bjorn Pettersen BPettersen at NAREX.com
Tue Jan 28 16:27:09 EST 2003


> From: Miranda Evans [mailto:mirandacascade at yahoo.com] 
> 
> Assume xyz.exe is a program that was produced from  xyz.py by running
> the py2exe utility.  Currently, xyz.exe displays information on the
> screen, but it does not return information to the calling program. 
> Can xyz.py be modified so that xyz.exe returns a value (e.g. a string)
> to the process that called it?  Can anyone point me to a sample .py
> script which, when 'compiled' with py2exe produces a .exe that returns
> information to the calling program?  Thank you.

I'm not sure I understand what you mean by "return information to the
calling program". Could you give us a specific example of what you'd
like to do?

-- bjorn





More information about the Python-list mailing list