python - Invalid argument 'C:\\<forzen importlib._bootstrap>' when using logging in pyhton -


when try use cx_freeze generate exe, exe file correctly generated, when run exe file error :

file "c:\python35\lib\logging\__init__.py", line 1008 in __init__ streamhandler.__init__(self, self.open())  file "c:\python35\lib\logging\__init__.py", line 1037 in _open  return open(self.basefilename, self.mode, encoding=self.encoding)  oserror : [errno 22] invalid argument:'c:\\frozen importlib._bootstrap>' 

ps: i'm using logging module log data in file , log path c:\


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -