Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

cxbrooks's profile - activity

2018-02-22 23:44:41 -0500 received badge  Teacher (source)
2017-11-13 10:09:01 -0500 commented answer BCVTB, PythonActor external file read and write issue

Asking about a missing class is a probably a different question than how to open a file, but I'll comment here. The cla

2017-11-06 10:26:51 -0500 commented answer BCVTB, PythonActor external file read and write issue

It looks like the with statement is also present in Jython 2.5.2 because http://www.jython.org/docs/whatsnew/2.5.html sa

2017-11-02 09:20:44 -0500 commented answer [BCVTB] Is it possible to use print statement for debugging purposes in pythonActor.py ?

The file is available at https://chess.eecs.berkeley.edu/ptexternal/src/ptII/ptolemy/actor/lib/python/test/PythonSysPath

2017-11-01 11:36:30 -0500 answered a question BCVTB, PythonActor external file read and write issue

The PythonActor uses Jython and not all of Python is supported by the version of Jython that ships with BCVTB and Ptolem

2017-11-01 11:36:18 -0500 answered a question Problems with adding new java actors with external dependencies

The answer depends on how you invoke BCVTB. This is really a question about the Java Classpath. Usually, when the java

2017-11-01 11:36:18 -0500 answered a question [BCVTB] Is it possible to use print statement for debugging purposes in pythonActor.py ?

I'm not much of a Python programmer, but you should be able to print to stdout from within a PythonScript actor, see bel