Newbee!!BPL question! Printing to standard output
Nils Hensel
nils.hensel at online.de
Sun Jan 21 17:24:07 EST 2001
You mean something like:
print "some text"
:o)
Of course you could do it the long way:
import sys
sys.stdout.write ("some text")
Nils
"Khaled Khairy" <khairy at magnet.fsu.edu> schrieb im Newsbeitrag
news:3A6B4D04.14B661E2 at magnet.fsu.edu...
> I use ActiveState and use BPL for exposing a C++ library using VC6.
> Can I, and how do I print to the standard output or to the ActiveState
> interpreter screen directly,
> without having to return a string ? Something like calling
> cout<<"some text" ; within a function.
> I would appreciate any help, thank you.
> Khaled Khairy
>
More information about the Python-list
mailing list