Handling 3 operands in an expression without raising an exception

Antoon Pardon antoon.pardon at rece.vub.ac.be
Thu Sep 26 08:53:39 EDT 2013


Op 26-09-13 14:39, Νίκος schreef:
> Yes, you are right, in my shell it fails too givign the same error
> message as yours, while on the other had in the websste is working.
> 
> Can you explain this please?
> why doesnt it fail to both enviroments?

Your site and your shell are two different environments. The state
of the website environment lets your code succeed while the state
of the shell environment, doesn't.

-- 
Antoon Pardon




More information about the Python-list mailing list