ok i am trying to print this out in note pad line by line but but for some
reason "\n"is not working am i doing some thing wrong because all the other
commands like "\t" are  working

import maya.cmds as cmds
path=cmds.internalVar(upd=True)+"preset.txt"
file=open(path,'w')
file.write("i am line 1"+"\n")
file.write("i am line 2")
file.close()

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAGhqNnn75f%3DBRq6aQV34fZWE0MCraOxHrXWYxFwjSVqOnXZ%2BjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to