Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python scripts: handling PF_OPTION and PF_RADIO choices by name
#6
Generating a list by [expression(something) for something in some_iteration] is called a "comprehension". Tremendously useful.

If you want to really "grok" python, there are several Youtube videos with Ned Batchelder. He goes into some very important (and often overlooked) concepts.

Python-forum.io is also a a good place to ask general Python questions.
Reply


Messages In This Thread
RE: Python scripts: handling PF_OPTION and PF_RADIO choices by name - by Ofnuts - 08-16-2018, 10:30 PM

Forum Jump: