kettle python script execution

kettle erected in architecture

In the kettle in a new job, remember, shell script object, only in the job there in. Because your python script itself is to be a serial, rather than parallel.

 

 

Fill path

 

 .py files default program settings

Principle is to use the CMD shell script to execute your specified script file, automatically selected when python.exe To execute CMD to open your file, you may need to set the default file format to open the program .py 

Control Panel -> Default Programs -> default application specified by file type

 

 

I discovered this after opening, Huh? His meow is actually not give me .py file type setting. Then you need to:

 

1. Open the registry: R & lt win + -> regedit 

2. Location: Computer \ the HKEY_CLASSES_ROOT

3. Right-new subkey named .py

Then you go back to Set your default programs on OK to python.exe

 

Guess you like

Origin www.cnblogs.com/10sxluo/p/12586843.html