You do have Python installed in Cygwin, right? It's an optional
component, IIRC?
If it is then it should have set the symlink in /usr/bin to wherever
it's installed.
Calvin Cheng wrote:
Hi guys,
This may be a cygwin issue but I was hoping to get some answers here
as well if someone has fixe
Thank you everyone. I ended up implementing the dict.get() method, which
seems "cleaner", but I'll keep the (x if y else z) syntax in mind. I
didn't know it existed, I guess it's what I was looking for to begin with.
Thanks again!
Allen wrote:
kretik wrote:
I
I'm sure this is a popular one, but after Googling for a while I
couldn't figure out how to pull this off.
Let's say I have this initializer on a class:
def __init__(self, **params):
I'd like to short-circuit the assignment of class field values passed in
this dictionary to something like
Raymond Hettinger wrote:
On Jun 16, 9:53 pm, kretik <[EMAIL PROTECTED]> wrote:
I've been trying to coax this class to use something other than the
default '$' but it seems setting it to something else has no discernible
effect. Is it necessary to inherit from the cl
I've been trying to coax this class to use something other than the
default '$' but it seems setting it to something else has no discernible
effect. Is it necessary to inherit from the class to do this?
I've only been using Python for a couple of weeks so I'm not sure what
the best approach is