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

rahul rahul03535 at gmail.com
Tue May 12 15:01:24 CEST 2009


On May 12, 5:25 pm, Christian Heimes <li... at cheimes.de> 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.

---
 rahul

---
rahul



More information about the Python-list mailing list