Accessing "variables" in an extension module
christian at integration-x.com
Wed Dec 6 15:19:45 CET 2000
I would like to access "variables" (chars and ints) in a C module
extension for Python from my Python code. Is that possible?
If I wanted to improve the example from "Extending and Embedding the
Python Interpreter" like shown below, what would I need to add to the
spam.varstring = "test"
spam.varint = 5
Thanks in advance,
More information about the Python-list