j
k
j a
j l
2011/2/25 Merlijn van Deen valhallasw@arctus.nl
Of course, the .........'a' if append else 'w' is nicer, but has only been supported for python 2.5+.
Of course, the
......'a' if append else 'w'
...'a' if append else 'w'
'a' if append else 'w'
is nicer, but has only been supported for python 2.5+.
Yet another variant: *pywikibot.iif(append,'a','w')*
I have just found this function in wikipedia.py. :-)
Attachments:
Back to the thread
Back to the list