Re: Namespaces
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Oct 24, 2000
- 557 views
Irv wrote: > hr, min, sec = date()[4..6] The only reason that this isn't part of the Py grammar is because it's not part of Euphoria. It's been discussed here before, and I don't recall it getting an overwhelming reception. My best complaint is that it looks odd, but that's no reason at all. It's certainly consistant with it's use elsewhere. You should be able to write: {"foo", "bar", "grill"}[x] which also looks a bit odd. But I've seen both used in Python, exactly in this manner. Maybe Robert could shed so light on this? -- David Cuny