cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

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