Writing gimp plugins in python on windows- how do i debug? where is the output?

前端 未结 3 2036
不思量自难忘°
不思量自难忘° 2021-02-02 11:52

EDITED HEAVILY with some new information (and a bounty)

I am trying to create a plug in in python for gimp. (on windows) this page http://gimpbook.com/scripting/notes.ht

3条回答
  •  死守一世寂寞
    2021-02-02 12:46

    as noted in How do I output info to the console in a Gimp python script?

    add

    import sys
    sys.stderr = open( 'c:\\temp\\gimpstderr.txt', 'w') 
    sys.stdout = open( 'c:\\temp\\gimpstdout.txt', 'w')
    

    at the beginning of the plug in file.

提交回复
热议问题