Need help on python scripting

Hello experts... can anyone please help me on python scripts for th below scenarios :-

1. getting values from filtering scheme (listbox filter) 

e.g. I have a YEAR filter, whatever values i am selecting, i want to retrieve those values.. including "ALL" values also.

2. if 2015, 2016 is selected from Year, I want those values to be in this format : '''2015'',''2016''' 

3. Assigning those values to a property control.


Thanks in advance...

(1) Answer