Thanks for the info iMath, I will try to contact the developers as you've
suggested.
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
Thought "Tupple" looked wrong, too lazy to look in the book - lol.
--
https://mail.python.org/mailman/listinfo/python-list
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
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