Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5897

Python - replace backslash in string - rs.documentpath()

$
0
0

@isvflorin wrote:

Trying to replace the backslash character in a string obtained with the rs.documentpath() method. The string replace function will not work since the backslash is an escape character. Any way to change my string into a raw string? Or any tips? I need to use the converted string with a os.chdir method.

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 5897

Trending Articles