Relative Content

Tag Archive for pythoneval

Restriction on eval() usage?

I am trying to collect strings denoting the equipment allotted to an RPG character, classified as weapons, clothing, misc. goods, etc., and annotated as ‘W’, ‘C’, ‘G’, etc., and I am having trouble using eval() to set up empty lists: listW, listC, listG, and so on.