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: 250
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
Next Topic:Dependencies required for EASE on eclipse 4.10/4.11
Goto Forum:
  


Current Time: Fri Oct 04 15:51:23 GMT 2024

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

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

Back to the top