Technical Support of Intercable Co <support at 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4