GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Tuesday, March 22, 2011
Python - StringIO
StringIO is like a file. We treat a string like a file:
>>> import StringIO
>>> output = StringIO.StringIO()
>>> output.write('Hello World\n')
>>> content = output.getvalue()
>>> output.close();
Python - StringIO
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment