Would be nice to have an actual example!
Check the "mimic a C struct type with an empty Python class " in the Starting Python sticky. You could do something along that line.
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
Neat! Never thought of exec() that way!
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417