streamwriter - How to convert the steamwriter code in C# to python -
i have written c# code , need written in python dont no how utilize stream author in python.please help me how utilize stream author functionality in python
textwriter tw = new streamwriter(val); tw.writeline(" used."); tw.writeline(); tw.writeline("02"); tw.write(unit.tostring("x8") + " "); tw.write(result.length.tostring("x4"));
there documentation on streamwriter here: https://wiki.python.org/moin/streamwriter
var tw = streamwriter(val) tw.write(" used.\n"); tw.write("\n"); tw.write("02\n"); ...
if string manipulation suggest: https://docs.python.org/2/library/stringio.html
python streamwriter
No comments:
Post a Comment