python - IOError: [Errno 22] invalid mode ('wb') or filename: -
i keep getting following error.
ioerror: [errno 22] invalid mode ('wb') or filename: 'c:\\users\\viral patel\\documents\\github\\3dphotovoltaics\\data_output\\simulation_data\\raw_data\\raw_simulation_data_2014-03-24 17:21:20.545000.csv' i think due timestamp @ end of filename. ideas?
you cannot use : in windows filenames, see naming files, paths, , namespaces ; 1 of reserved characters:
the following reserved characters:
<(less than)>(greater than):(colon)"(double quote)/(forward slash)\(backslash)|(vertical bar or pipe)?(question mark)*(asterisk)
use different character not on reserved character list.
Comments
Post a Comment