Mike Wyatt wrote: > How can I convert this Python class to Pyrex? > > class Test(object): > something = 123 > def hello(self): > print Test.something If you mean turn it into an extension type, you can't. Pyrex extension types currently can't have class variables. -- Greg