Execute python file within load script

linkaiyi
Follow

change qlik sense settings for execute python script

  1. change engine setting from standard to legacy


  1. change settings.ini under the folder C:\ProgramData\Qlik\Sense\Engine\
  1. Make a copy of Settings.ini and open it in a text editor.
  2. Check that the file includes [Settings 7] in the first line.
  3. Insert a new line and type OverrideScriptSecurity=1.
  4. Insert an empty line at the end of the file.
  5. Save the file.

Add the execution line in load script

Execute “C:\Python37\python.exe” “C:\bdc\manage.py” update_daily_sales;

For Django we can create management command for this purpose

Object has 0 attachments

Was this article helpful?

This article is viewed 54 times!

Related Articles

0 Comments

Leave a Comment

Support