Syntax suggestion.
Roberto Bonvallet
Roberto.Bonvallet at cern.ch
Thu Aug 31 07:37:48 EDT 2006
samir wrote:
> Being a fond of Python, I had this idea: Why not making Python a Unix
> shell?
[...]
> So, why not making the use of parentheses when a function is one lined
> optional to have commands like this:
[...]
> Then, why not making the comma optional too when executing such
> instructions:
[...]
> And finally, why not making the string parameter "-less when it is the
> only parameter:
...so finally you get something that is exactly like any Unix shell, and
completely different to Python. If you want Python to look like bash, work
like bash and have bash-like syntax, you should really consider using bash :)
--
Roberto Bonvallet
More information about the Python-list
mailing list