be memory-efficient but
it will be easy to do.
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
ame kind as the @decorator syntax. Guido
moved an operation to a point in the code where it was more visible. You
moved an operation to a more local context where (pun not intended) it
really belongs.
I'm usually rather conservative about Python syntax (@decorators,
absolute/relative imports,
Nick Coghlan wrote:
Killer app for this keyword:
class C(object):
x = property(get, set) where:
def get(self):
return "Silly property"
def set(self, val):
self.x = "Told you it was silly"
Hey, this is super-elegant!
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
n order of magnitude easier.
Has anyone actually used it in real code?
Cheers,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
d)), (e, f)):
pass
although I see that it could be perfectly valid in some contexts.
Cheers,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
language features I learned about. Somehow it never occurred to me that
you could use it in function arguments this way - I only knew f(*args,
**kwargs) style in this context. That's what I made the whole fuss
about...
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
, well...
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
ied waiting for dll
> loading
> [...]
> any ideas?
This is a dll problem that sometimes happens in Cygwin. Run 'rebaseall'
to fix this.
HTH,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
, Laurent! If this is version 0.55, I can't wait for 1.0. Keep
up the good work.
BTW, it would be great if something like this came with Python
installation. No more sifting through library TOC/index, "where did I
see this stuff" :)
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
I'm using Python for:
* log analysis
* test tools
* data massaging
* prototyping
--
http://mail.python.org/mailman/listinfo/python-list
s me is that you have two modules that import each other.
Are you sure you can't do it any other way?
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
r another. Try
manipulating a document with multiple namespaces, you'll know. Not that
I ever saw any XML API in any language that would do everything I
expected from it correctly. Ergo, XML sucks. :)
Cheers,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
rwd.xml()
http://pq.com/ns2";
xmlns="http://example.com/namespace"/>
but it only helps if you know what to patch.
My setup:
Python 2.4.3
4Suite 1.0b3
Amara 1.0
I see that people have reported similar problems with other XML
toolkits, so I guess this is a general namespace ugliness.
Regards,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
May I suggest a saying: Never attribute to lack of knowledge what you
can attribute to confusing signals :)
Yours truly,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
Schema.dtd
http://www.w3.org/2001/datatypes.dtd:99:23: Attribute 'id' already
declared
http://www.w3.org/2001/datatypes.dtd:122:23: Attribute 'id' already
declared
http://www.w3.org/2001/datatypes.dtd:130:27: Attribute 'id' already
declared
...some 40 more lines like
end the whole post but it might be too long.)
Cheers,
AdSR
--
http://mail.python.org/mailman/listinfo/python-list
I think you guys are up to something. We need some way to aggregate,
update, and extend not just tutorials but all kinds of informatory
material on Python. The Python Wiki is a good place for all that,
although it hasn't become anything resembling a Wikipedia so far.
AdSR
--
17 matches
Mail list logo