Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: srinivas devaki Newsgroups: comp.lang.python Subject: How to use internal python c funtions, from python code Date: Thu, 10 Dec 2015 10:14:14 +0530 Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de LQkmUXVnGmQJXrhk0yztDgCmrv56Aa5Fz7qsrYhiBr7Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:code': 0.07; 'subject:How': 0.09; 'integers': 0.09; 'python': 0.10; 'anyway': 0.11; 'subject:python': 0.14; '(),': 0.16; 'received:209.85.213.176': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'purposes': 0.20; 'arguments': 0.22; 'ctypes': 0.22; 'programming': 0.22; 'code,': 0.23; 'passing': 0.23; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.30; 'received:google.com': 0.35; 'subject:use': 0.35; 'skip:i 20': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'to:addr:python- list': 0.36; 'really': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'subject:from': 0.39; 'to:addr:python.org': 0.40; 'competitive': 0.61; 'different': 0.63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=ZVWl45nY3px3B80mbQKRlS+tR4kQKGWHfOzPw+xhOm4=; b=CUPBhbgQVsXlF1BAHTAyv74cYIeQyAn3fdv5cxXXZqZterlOuej8tD0hs0tbCsAxGD iSY6oXRYM2zkGdlaB/chyj+XnFeWuAotsTDXOV8MwvUS2aIUwMxjo6SASosydWom7PvT VVvqC3SqchElJDzBmt2+TPeSbyr4YUyMWiqny4XEZlH6M1Qag8Ghn5/XLc9pDvbJ0tEw u1pzhw/EwS66nPgSGOR2WrSXjGITv1Gh7igxDn5lIMypHLp2IakPPDZjydfgrp/b0t5i A4VWkJetRiaoBGnBeYPx3nbPe5WW/KJeflsIcaTt8weIX6Vw/oV+MMPM53Y47ctShans PywA== X-Received: by 10.50.73.9 with SMTP id h9mr12725489igv.41.1449722693732; Wed, 09 Dec 2015 20:44:53 -0800 (PST) X-Content-Filtered-By: Mailman/MimeDel 2.1.20+ X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:100217 Hi I'm coming from this link ( https://groups.google.com/forum/#!topic/python-ideas/cBFvxq1LQHM), which proposes to use long_to_decimal_string(), int_to_decimal_string() functions for printing integers in different bases. Now is there anyway i can use such internal functions from pure python code, passing ctypes when the arguments are c datatypes. For competitive programming purposes I really want to use those functions for speed.