RSS feed
[root]
/
c09
/
code
/
TI Pattern
/
software design
/
document
javaclass
login:
password:
title search:
Search this site
Enter your search terms
Web
www.carfield.com.hk
Submit search form
Prev
Next
Wed Dec 26 16:00:00 GMT 2001
GreenHouseController
//: c09:GreenHouseController.java import org.python.util.PythonInterpreter; import org.python.core.*; import com.bruceeckel.test.*; public class GreenHouseController extends UnitTest { PythonInterpreter interp = new PythonInterpreter(); public void test() throws PyException { System.out.println( "Loading GreenHouse Language"); interp.execfile("GreenHouseLanguage.py"); System.out.println( "Loading GreenHouse Script"); interp.execfile("Schedule.ghs"); System.out.println( "Executing GreenHouse Script"); interp.exec("run()"); } public static void main(String[] args) throws PyException { new GreenHouseController().test(); } } ///:~
(google search)
(amazon search)
1
2
3
second
download zip of files only
Prev
Next