Hey all,
i'm trying to create an application that both embeds and extends python
through boost. i've got a rough framework up and running, but now that
i'm finally to the python part i'm having troubles.
Here's a rough run-down of my code:
Base class (pure):
template
InputHandler
{
public:
/
Is there a data structure in Python that is akin to the STL stack object in C++?
Thanks!--
http://mail.python.org/mailman/listinfo/python-list
I didn't know the list has a pop function - that is what I was looking for.
Thanks for the help![EMAIL PROTECTED] wrote:
What property of the STL stack is important to you?You can use a Python list as a stack. It has methods append() andpop() which run in amortized-constant-time. It can be tested