Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
vaj7
Contributor
Contributor

EXECUTE function running Python (.py) not working?

Hi all!

 

I am trying to run python script inside my load script in Qlik Sense Desktop app.

I know that I need to put OverrideScriptSecurity=1 in Settings.ini and I did it

I leave a shot of how my code looks like

 

vaj7_0-1696509053766.png

After running the app there is no error:

vaj7_1-1696509108937.png

 

The problem is that the code is not working, because it doesn't do anything. This is my .py code:

#!/usr/bin/env python
# coding: utf-8

import pandas as pd
 
df = pd.read_excel('GRUPOMAS.xlsx')
df.to_csv('HAFUNCIONADO2.csv')


I don't know what is wrong, can you help?

Labels (2)
0 Replies