wood burning stoves 2.0*
The moose likes Jython/Python and the fly likes Jython Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Jython Question" Watch "Jython Question" New topic
Author

Jython Question

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Is there a way to start the Jython interpreter, kick off a Jython script from a file, and then manipulate those objects from the interpreter?


GenRocket - Experts at Building Test Data
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I think that's what the jython -i option is for. Does that do what you want?


"I'm not back." - Bill Harding, Twister
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Perfect, thanks.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jython Question
 
Similar Threads
Jython?
numPy and sciPy question
Jython, Python etc. (Use Scenarios)
To the author, Mr. Bill
Calling python function from java