python evaluating wrong in here.

   2331   2   0
User Avatar
Member
55 posts
Joined: Oct. 2011
Offline
I used a.sections().setContents(tt2=t1.split(“”\\n“”))

now the \\n gets only evaluated to \n when i open my otl and see the script in the python module.
How to solve this

I have also tried using t1.split(r'\\n').But same result

have i did any mistake?
please correct me.I have this problem only when i use setContents to load a script in the otl.
User Avatar
Member
55 posts
Joined: Oct. 2011
Offline
anyone?
User Avatar
Member
19 posts
Joined: March 2010
Offline
a.sections().setContents(tt2=t1.split(“”\\\n“”)) maybe?
  • Quick Links