cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use JMP Live to centralize and share reports within groups. Webinar with Q&A April 4, 2pm ET.
Choose Language Hide Translation Bar
View Original Published Thread

Running Python script using JSL [Permission Error]

RA899
Level IV

Hello, 

I'm trying to run a jsl script that does several things. One of them is to run an external python script. When I run the python script which does some modifications to an excel file, it gives me an error message indicating that permission is denied to access/write on the excel file. Please note that when I run the python script separately, it works like a charm. 

 

How can I give jmp the proper permission? thanks. The code im using is below. 

 

x = RunProgram(
	
	executable( "python" ),
	options( "C:\Users\user1\Desktop\temp.py" ),
	readfunction( "blob" )
);
1 ACCEPTED SOLUTION

Accepted Solutions
RA899
Level IV


Re: Running Python script using JSL [Permission Error]

Never mind. The problem was in the code itself. I needed to provide the full path for a sub-routine. 

View solution in original post

2 REPLIES 2
RA899
Level IV


Re: Running Python script using JSL [Permission Error]

Never mind. The problem was in the code itself. I needed to provide the full path for a sub-routine. 

RA899
Level IV


Re: Running Python script using JSL [Permission Error]

In the python code**