![]() |
#1
|
|||
|
|||
Unexpected carriage return
When adding a texture from a file any \r in the filename is seen as a carriage return.
C:\Tester\retest is seen as C:\Tester\ etest To get around this I either add a different character to the before the "r" or an additional \. Is this suppose to be how it works? ![]()
__________________
VizMaster ![]() |
#2
|
|||
|
|||
You can also use the following to allow backslashes in strings:
Code:
path = r'C:\Tester\retest' |
#3
|
|||
|
|||
Forgot to mention, you can also use forward slashes.
|
#4
|
|||
|
|||
Thanks,
I will give the suggestions a try. I forget the I am dealing with an interpretive language.
__________________
VizMaster ![]() |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|