Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Create global context variables in Talend, then call upon those variables from within a python script that talend runs. I can't figure out a way to get it to work. I have tried creating the context variables I need, adding them to a tSystem command, then my command to run the Python file looks like "python /path/pythonfile.py ${dbname} ${host} ${pw}"
If you want to make those variables accessible from outside, put them on a context file "env.conf" and decalre dbname, host and pw for example.
This way in Talend you'll load the variable from this file into your job, and in Python load the same way