On May 12, 11:48 pm, Hrvoje Niksic <hnik...@xemacs.org> wrote:
> rahul <rahul03...@gmail.com> writes:
> > Hi Christian,
> >   rb_big2str(Big-Integer, base) of ruby returns string

*base*

>representation
> > of big-Integer. now, i am able to find equivalent python API function
> > of rb_str2cstr() of ruby.
>
> That would be PyLong_FromString, for the sake of later searches.
>
> > so , please help me about rb_big2str(Big-Integer, base)

*base*

> equivalent of
> > Python API function which i can use in extended module in c.
>
> You can use PyObject_Str(long_object) to convert long to string.  No
> special function is needed.

ALL of your base are want to be convert by us -- not merely 10.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to