lundi 17 novembre 2014

How to do c# @ before string in python


Vote count:

0




hi i have something like this :



"([a-z0-9./]+)\."


but I cant compile this because there is some special charecters like \ and + I know in c# you can put @ before the string how I do it in python ?





asked 1 min ago


1 Answer



Vote count:

0




Put an r before the string to create a raw-string:



r"([a-z0-9./]+)\."


answered 33 secs ago

iCodez

47.5k





How to do c# @ before string in python

Aucun commentaire:

Enregistrer un commentaire