Re: Win32 API in pywin32

2016-08-04 Thread jj0gen0info
Thanks for the info iMath, I will try to contact the developers as you've suggested. -- https://mail.python.org/mailman/listinfo/python-list

Win32 API in pywin32

2016-08-04 Thread jj0gen0info
According to Python.org Mark Hammond has an Add-on (pywin32) that supports Win32 and COM. Does anyone know if the Add-on covers all Win32 API functions, and if not is there a list of the subset of Win32 API functions it does include? J. -- https://mail.python.org/mailman/listinfo/python-list

Re: Case Statements

2016-03-15 Thread jj0gen0info
You have apparently mistaken me for someone who's worried. I don't use Python, I was just curious as to why a construct that is found, not only to be useful in 95% of other languages, but is generally considered more flexible and readable than the if-elif, was missing in Python. (your link "Sw

Re: Case Statements

2016-03-15 Thread jj0gen0info
Thanks for the informative post. I've read it and disagree with the rational, it places Python in a decided minority of the major languages. https://en.wikipedia.org/wiki/Conditional_(computer_programming)#Case_and_switch_statements See section "Choice system cross reference" Thanks again for

Case Statements

2016-03-15 Thread jj0gen0info
Given that "Case Statements" are more compact and less redundant than a sequence of if-elif statements, and usually can contain embedded match lists: Is there any chance future versions of Python will adopt a case structure? Something like select x case in [1,2,3,5,7,9] print case

Re: Use of Lists, Tupples, or Sets in IF statement.

2016-03-14 Thread jj0gen0info
Thought "Tupple" looked wrong, too lazy to look in the book - lol. -- https://mail.python.org/mailman/listinfo/python-list

Re: Use of Lists, Tupples, or Sets in IF statement.

2016-03-14 Thread jj0gen0info
Thanks to all for the responses. Very new to Python, and thought there should be a way to do it. JJ -- https://mail.python.org/mailman/listinfo/python-list

Use of Lists, Tupples, or Sets in IF statement.

2016-03-14 Thread jj0gen0info
In Python is it possible to comparison-equate a variable to a List, Tupple, or Set and have it return True if the contents of the variable matches an element in the List, Tupple, or Set. E.g. x = "apple" x-list = ["apple", "banana", "peach"] If x == x-list: print('Comparison is True') els