pyPath

class pySym.pyPath.Path(path=None, backtrace=None, state=None, source=None, project=None)[source]

Bases: object

Defines a path of execution.

backtrace
copy(state=None)[source]
Input:
(optional) state == pyState object to use instead of copying the current state.
Action:
Create a copy of the current Path object
Returns:
Copy of the path
error
printBacktrace()[source]

Convinence function to print out what we’ve executed so far

source
state
step()[source]

Move the current path forward by one step Note, this actually makes a copy/s and returns them. The initial path isn’t modified. Returns: A list of paths or empty list if the path is done

pySym.pyPath.random() → x in the interval [0, 1).