Problem listing services with wmi

Tim Golden tim.golden at viacom-outdoor.co.uk
Tue May 17 04:18:33 EDT 2005


[Jean-Sébastien Guay]

[... snip Larry Bates' suggestion of removing whitespace ...]

| Out of curiosity, is there any reason why whitespace between 
| the method 
| name and parameter list parentheses isn't good? Because the code I 
| posted before was copy-pasted from Tim Golden's site 
| (http://tgolden.sc.sabren.com/python/wmi.html) and the spaces 
| were there.

It's just a matter of style. Whitespace isn't *that*
significance in Python! I personally -- in whatever
language -- put spaces between function names and
their first parameter. Guido vR, as someone else
has pointed out, prefers not to.

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the Python-list mailing list