How do you write Python path strings?

Poll created by dkwiens Champion on Feb 3, 2016
109 total votes You cannot vote on this poll
  • Raw strings (e.g. r'C:\somefolder\somefile')
    75
  • Forward slash (e.g. 'C:/somefolder/somefile')
    13
  • Double backslash (e.g. 'C:\\somefolder\\somefile')
    12
  • Hope for the best (e.g. 'C:\somefolder\somefile')
    3
  • Other (comment below)
    6