Oct. 10, 2005
11:57 p.m.
And why not if len(sys.argv) > 1 take sys.argv[1] == 'debug': ... It was not so bad :-) A = len(sys.argv)==0 take None or sys.argv[1] Sorry for being noisy :-)
October 2005
10:15 p.m.
Technical Support of Intercable Co <support@intercable.ru> wrote:
And why not if len(sys.argv) > 1 take sys.argv[1] == 'debug': ...
It was not so bad :-)
A = len(sys.argv)==0 take None or sys.argv[1]
Sorry for being noisy :-)
The syntax for 2.5 has already been decided upon. Except for an act by Guido, it is likely to stay (None if len(sys.argv) == 0 else sys.argv[1]). - Josiah
7451
Age (days ago)
7454
Last active (days ago)
1 comments
2 participants
participants (2)
-
Josiah Carlson -
Technical Support of Intercable Co