Mega Code Archive

 
Categories / Python / String
 

Keeps (Back splash) literally

x = "C:\py\code"     # keeps \ literally print x print len(x)