Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

what is r in python

# a normal string which treats a back slash as a special character and changes some properties of it
("D:UserslegendaryPicturesSaved Picturesugatti.jpg")

#we use r string to write paths without any conflit since they contain backshlases

# >>> this is an r string
(r"D:UserslegendaryPicturesSaved Picturesugatti.jpg")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
8+8 =