Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Tim Roberts
paul_kon...@dell.com wrote: > > Nit: the Pythonic recommended way of doing this is "if isinstance (item, > tuple):" > > The difference is that this will also work if item is an instance of a > subclass of "tuple" while the original code does not handle that case. For > this code, that might not

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Paul_Koning
On Nov 30, 2012, at 4:20 PM, Tim Roberts wrote: > In the future, I'd like to suggest that you choose a genuine subject > line when you post. It makes people more inclined to read your messages. > > > Michael Wilson wrote: >> >> My thought if there's not already an elegant solution in Python i

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Tim Roberts
In the future, I'd like to suggest that you choose a genuine subject line when you post. It makes people more inclined to read your messages. Michael Wilson wrote: > > My thought if there's not already an elegant solution in Python is to > create a flag 'r' before ranges. So, the example here wo

Re: [python-win32] python-win32 Digest, Vol 116, Issue 13

2012-11-30 Thread Michael Wilson
Hi everyone, I am new to Python. Been poking at it for about a month now. I am trying to set up a list for information on people. For example: person 0's name = "Sam". li[0][0] person 0's hoppy = "skateboarding" li[0][1] person 0's favorite color = ["green", "red"] li[0][2] # it appears i can put