Python API Functions equivalent to ruby's rb_big2str() and rb_str2cstr()

rahul rahul03535 at
Tue May 12 09:01:24 EDT 2009

On May 12, 5:25 pm, Christian Heimes <li... at> wrote:
> rahul schrieb:
> > Is functions equivalent to ruby's  rb_big2str() and rb_str2cstr()
> > available in Python.
> > I had search a lot in google but not able to find that.
> > If anybody know than please give me the name of those functions of
> > Python.
> Please don't assume that we know what the Ruby functions are doing. You
> need to explain them or at least provide a link to some docs.
> Christian

Hi Christian,
  rb_big2str(Big-Integer, base) of ruby returns string representation
of big-Integer. now, i am able to find equivalent python API function
of rb_str2cstr() of ruby.
so , please help me about rb_big2str(Big-Integer, base) equivalent of
Python API function which i can use in extended module in c.



More information about the Python-list mailing list