privileges.
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I was wondering if it was possible to find and object by it's ID.
what I want to do is something like
def incomingConnection(self, stuff):
(incSock, incAdder) = self.__sock.accept()
#Add the adder socket ID and other info to a DB
def sendMessage(self, adder, message):
#query the DB
How would I go about writing a fast token parser to parse a string like
"[4d6.takeHighest(3)+(2d6*3)-5.5]"
and get a list like
['+',
['takeHighest',
['d',
4,
6
],
3
],
['-',
['*',
['d',
2,
I am attempting to embed Python in a C++ app and have a question
before I get too far into it.
Is is possible to to dynamically create an extension module?
eg, I want a module name spam and I have a stuct that contains all my
method names, and a pointer to the proper c++ function to call
### Suto
On 2/25/07, Dave Kuhlman <[EMAIL PROTECTED]> wrote:
> If you have not already, you will want to look at SWIG
> (http://www.swig.org/). SWIG will generate C or C++ code from a
> header file containing structs and classes and function
> declarations. That generated code can then be compiled and lin
def myfiles(directory,extension=None):
for x in [os.path.join(x,i) for x,y,z in os.walk(directory)\
if extension:
for i in z if i.endswith(extension)]:print x
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
___
Tutor maillist
oes not
propagate to existing instances
Dj Gilcrease
OpenRPG Developer
~~http://www.openrpg.com
On Thu, Jan 15, 2009 at 9:48 AM, Brian van den Broek
wrote:
> Brian van den Broek said unto the world at 15/01/09 11:27 AM:
>>
>> Alan Gauld said unto the world at 14/01/09 07:34 PM: