cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
RA899
Level IV

Running Python script using JSL [Permission Error]

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**

Recommended Articles