2008/11/12 Joe Strout <[EMAIL PROTECTED]>:
>
> So I need functions to assert that a given identifier quacks like a string,
> or a number, or a sequence, or a mutable sequence, or a certain class, or so
> on. (On the class check: I know about isinstance, but that's contrary to
> duck-typing -- what
Hello.
2008/7/16 zhw <[EMAIL PROTECTED]>:
> On 7月16日, 下午5时35分, Ben Finney <[EMAIL PROTECTED]>
> wrote:
>> zhw <[EMAIL PROTECTED]> writes:
>> > Here is a example that I want to complete:
>> > >>> import sys, new
>> > >>> context={"name":"david", "sex":"male"}
>>
>> Here you have a set of values add
2008/4/23, Reedick, Andrew <[EMAIL PROTECTED]>:
>
> IIRC, Python is used in games like Eve Online (SciFi MMO) and Vampire:
> Bloodlines (RPG.) Years later, a dedicated fan is still fixing/updating
> the Bloodlines python scripts that control the dialogue and scripted
> events.
>
Now that you m
2008/4/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi,
Hello,
> I have this trivial program:
>
> import inspect
> class A:
> def __init__(self, a):
> self.a = a
> def __str__(self):
> return 'A(%s)' % self.a
> a = A(8)
> print a
>
> the output is:
> A(8)
> A(8)
>
2008/4/11, Evan <[EMAIL PROTECTED]>:
>
>
> Hope this hasn't been posted hundreds of times. I'm new for this.
>
> Before using python for this kind of script, I was using TCL to write
> down a "command line based" interactive program. it likes a "tclsh",
> or "python" command, after that, you can w
If you are a Linux user, you can also take a look at Umbrello UML (it is
part of the KDE Desktop).
--
http://mail.python.org/mailman/listinfo/python-list