Top Stories published by Python Pandemonium in February of 2017

A trap of shell=True in the subprocess module

If you look into a page of a subprocess module you find a few red boxes warning you that shell=Trueis insecure. Malicious user may use shfeatures to execute unexpected code and so on.


Little Intro to Python Generators

What are python generators and how do they work?

Generators are a python feature that became standard in Python 2.3. Along with the generator came the yield keyword. One simple way I think about Python generators is that they are a way to…