Code:
saveInPath = "C:\Users\User\Documents\AV_FILES\06_School\Python205\ProjectNov2014\CODE_CLEAN\NotQuiteBackUP" lccSysProcCons = SystemProcessControls() dateTimeNow = lccSysProcCons.getDateTimeNow() name = "RejectedTracksList %s" % str(dateTimeNow) saveAsName = saveInPath + "\\" + name + ".txt" print saveAsName
The invalid value was due to the saveAsName which when printed out shows up as:
C:\Users\User\D ocuments\AV_FIL ES♠_School\Pyth on205\ProjectNo v2014\CODE_CLEA N\NotQuiteBackU P\RejectedTrack sList 2014-12-27 15:31:07.txt
NOTICE the spade character [♠] in place of [\06].
Why is this? This will probably be resolved by changing the folder name. I just want to know why this happens.
Comment