I can't use snaphu from python

Please help me to use snaphu from python. Unable to export snaphu data.

par.put('Statistical-cost mode','DEFO')
par.put('Initial method','MCF')
par.put("numberOfTileRows", 10)
par.put("numberOfTileCols", 10)
par.put("numberOfProcessors", 4)
par.put("rowOverlap", 200)
par.put("colOverlap", 200)
par.put("tileCostThreshold", 500)
snpu=GPF.createProduct("SnaphuExport", par, G_cor)

How to export ?
Can we use cmd to run all snaphu tools?
Please help to build this.

Hello, please anyone help me.

check this,you gonna get a solution。