From: Branko S. <drb...@ho...> - 2002-02-17 18:44:55
|
Thanks Ype, Now when I know what to do I still can't pull it off...maybe I overlooked something since I want to get this "baby" started ASAP: Q1: How do I set sys.path in my java code? The solution posted on FAQ pages doesn't seem to work: Properties props = new Properties(); props.setProperty("python.path", "path to my modules"); PythonInterpreter.initialize(System.getProperties(), props, new String[] {""}); Q2: How do I populate/set sys.argv for myapp.py in my java code? Sorry for the newbie questions...I really appreciate your time taken to answer this. Sincerely, Branko _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com |