How to use sys.stdout

L

Leon

what does it have properties ?
what does it have method ?
how to use they ? or where can find any information

please help me
 
R

Roman Kaminski

Leon said:
what does it have properties ?
what does it have method ?
how to use they ? or where can find any information

please help me

An example:

s:/home/rkam>python
Python 2.3.3 (#1, May 3 2004, 20:19:41)
[GCC 3.3.1] on sunos5
Type "help", "copyright", "credits" or "license" for more information.['__class__', '__delattr__', '__doc__', '__getattribute__',
'__hash__', '__init_ _', '__iter__', '__new__',
'__reduce__', '__reduce_ex__', '__repr__', '__setattr
__', '__str__', 'close', 'closed', 'encoding', 'fileno', 'flush',
'isatty', 'mod e', 'name', 'newlines', 'next',
'read', 'readinto', 'readline', 'readlines', 'se ek',
'softspace', 'tell', 'truncate', 'write', 'writelines', 'xreadlines']
http://www.python.org/doc/current/lib/module-sys.html

Good luck,
Roman Kaminski
 
J

John Machin

Leon said:
what does it have properties ?
what does it have method ?

Have you read the Python Tutorial? If no, stop reading this message
now and read the Tutorial. If yes, what did you not understand about
sections 6.3 and 7.1?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,210
Messages
2,571,091
Members
47,691
Latest member
Jenny-jane

Latest Threads

Top