logging not writing to file when called from function in Pyscripter

后端 未结 2 1813
花落未央
花落未央 2021-01-22 08:53

Currently if I run the following code from the python command line it writes to the file specified by filename as expected.

import logging
def test         


        
2条回答
  •  孤街浪徒
    2021-01-22 09:01

    Pyscripter has an 'External Run' option ( Run > External Run (Alt + F9)), choosing this made the logging work.

提交回复
热议问题