Re: Ternary Operator in Python

2005-04-01 Thread Sean Kemplay
You could use 

condition and consequent or alternative

I use it
Sean

On Apr 1, 2005 5:24 PM, praba kar <[EMAIL PROTECTED]> wrote:
> Dear All,
> I am new to Python.  I want to know how to
> work with ternary operator in Python.  I cannot
> find any ternary operator in Python.  So Kindly
> clear my doubt regarding this
> 
> 
> __
> Yahoo! Messenger
> Show us what our next emoticon should look like. Join the fun.
> http://www.advision.webevents.yahoo.com/emoticontest
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Ternary Operator in Python

2005-04-01 Thread Sean Kemplay
On Apr 1, 2005 8:10 PM, Erik Max Francis <[EMAIL PROTECTED]> wrote:
> Sean Kemplay wrote:
> 
> > You could use
> >
> > condition and consequent or alternative
> >
> > I use it
> 
> You should do so cautiously, since if consequent is false, it will not
> behave as suspected.  Not to mention that it's quite unreadable.
> 
> --
> Erik Max Francis && [EMAIL PROTECTED] && http://www.alcyone.com/max/
> San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
>Physics, as we know it, will be over in six months.
>-- Max Born (1928)
> --
> http://mail.python.org/mailman/listinfo/python-list
> 

I should have mentioned that, as I have been caught out before.

Sean
-- 
http://mail.python.org/mailman/listinfo/python-list


Free hosting for open source Python projects

2009-07-27 Thread Sean Kemplay
Hi All,

If anyone is looking for somewhere to host their Python project /
modules etc. for free,  please get in touch with me.  There of course
are some restraints on disk space and bandwidth but they should be
sufficient for most projects.  Your project must be open source.

You will have access to both Django or Plone/Zope(shared).  No PHP etc
- this is a Python only host.

Unfortunately I can't host everyone but if I can't host your
particular project now, I may be able to at a later stage.

Please contact me at "postmaster (at) pythonicity.co.uk".  Our website
is located at www.pythonicity.co.uk if you want to see what we do.

Best Regards,
Sean Kemplay

-- 
http://mail.python.org/mailman/listinfo/python-list