Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.107 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.88; '*S*': 0.09; 'python.': 0.02; 'subject:number': 0.09; '(say': 0.16; 'number?': 0.16; 'advance.': 0.19; 'select': 0.22; 'header:User-Agent:1': 0.23; 'problem': 0.35; 'thank': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'new': 0.61; 'relatively': 0.65; 'subject:very': 0.91; 'received:219': 0.95 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=pAoX9i3Tcm2WAPsbr+BYHiPdLU6NUfcXqsH5z4m3jVpn6V8WE/AU2pL7VDlG5Tx/DPOpxNhmv0LBMJuvOxeDhAynlP1XElWgO4Mw/i8wU8kP5r05OOQKTMzF6XlMtwb0TKlswXDj2cmmqx4kYfelEm6UChrpOeoKcwlOZGnPVYE=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-Antivirus-Status; Date: Thu, 18 Jul 2013 00:51:39 +0530 From: Hasit Mistry User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: python-list@python.org Subject: Storing a very large number Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130717-1, 17-07-2013), Outbound message X-Antivirus-Status: Clean X-Mailman-Approved-At: Wed, 17 Jul 2013 21:40:25 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374090026 news.xs4all.nl 15939 [2001:888:2000:d::a6]:45287 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50800 I came across a problem that requires me to store a very large number (say >10^100). How do I do it efficiently? And also, how do I select a particular number (say 209th) from that very large number? I am relatively new to Python. Thank you in advance.