[python] Random string generator

Read the rstr module documentation, there is an advice to use the SystemRandom to generate more secure random string.