Python shell creation library