On Sep 14, 9:54 am, Chris Colbert wrote:
> why not just pawn your processing loop off onto a child thread and
> give yourself a hook (function) that you can call that return whatver
> info you what. Run the script in ipython, problem solved.
>
thank you Chris, I have just implemented this in a mo
why not just pawn your processing loop off onto a child thread and
give yourself a hook (function) that you can call that return whatver
info you what. Run the script in ipython, problem solved.
On Mon, Sep 14, 2009 at 7:57 AM, jacopo wrote:
>
>> You might consider running a BaseHTTPServer in
> You might consider running a BaseHTTPServer in a separate thread
> which has references to your objects of interest and exporting the
> data through a web interface. Using a RESTful approach for mapping
> URLs to objects within your system, a basic export of the data can
> be as simple as pri
In article <228b-379d-4fe4-956b-cf803541a...@37g2000yqm.googlegroups.com>,
jacopo wrote:
>I have a system comprising many objects cooperating with each others.
>(For the time being, everything is running on the same machine, in the
>same process but things might change in the future). The sy
jacopo:
>
>> What exactly do you want to know? The names of existing attributes or
>> their content? The latter is probably obvious to you and the former is
>> easy, too. See hasattr, getattr and isinstance.
>
> I want to know the value of the attributes.
> What you suggest works when the program
>
> What exactly do you want to know? The names of existing attributes or
> their content? The latter is probably obvious to you and the former is
> easy, too. See hasattr, getattr and isinstance.
I want to know the value of the attributes.
What you suggest works when the program stops, objects a
jacopo:
>
> I would like to find a way to inspect the objects at run time. In
> other words I would like to check certain attributes in order to
> understand in which status the object is.
What exactly do you want to know? The names of existing attributes or
their content? The latter is probably
I have a system comprising many objects cooperating with each others.
(For the time being, everything is running on the same machine, in the
same process but things might change in the future). The system starts
a infinite loop which keeps triggering operations from the
instantiated objects.
I wo
I have a system comprising many objects cooperating with each others.
(For the time being, everything is running on the same machine, in the
same process but things might change in the future). The system starts
a infinite loop which keeps triggering operations from the
instantiated objects.
I wo