Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Advanced Scripting Environment (EASE) » Is it possible to import a Python script into another Python script in Eclipse Jython EASE?(Is it possible to import a Python script into another Python script in Eclipse Jython EASE?)
Is it possible to import a Python script into another Python script in Eclipse Jython EASE? [message #1861165] Mon, 25 September 2023 14:32 Go to next message
vijayaraj vijayan is currently offline vijayaraj vijayanFriend
Messages: 1
Registered: September 2023
Junior Member
Hi All,

In my Eclipse application, I use a Python script to get data from the lower layer using EASE. Currently, I am in a position where another Python script needs to be called from that working Python script. Does anybody have any idea how I can make it?

Thanks in advance.
Vijay
Re: Is it possible to import a Python script into another Python script in Eclipse Jython EASE? [message #1861246 is a reply to message #1861165] Mon, 02 October 2023 08:15 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 247
Registered: July 2009
Location: Graz, Austria
Senior Member
The include() command from EASE will load and execute a script. Basically it woks as if the script code was pasted instead of the include line.
In case you want to run a separate script in its own sandbox, have a look at the Scripting module, which provides a fork() method.

HTH
Christian
Previous Topic:Javascript EASE script error : Invalid thread access
Goto Forum:
  


Current Time: Sat Nov 11 05:57:10 GMT 2023

Powered by FUDForum. Page generated in 0.02325 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top