Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #9033

Re: Question- Getting Windows 64bits information Python 32bits

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; '(at': 0.03; 'python.': 0.04; 'subject:Python': 0.06; 'python': 0.08; 'variables.': 0.09; 'examples': 0.12; 'am,': 0.13; 'wrote:': 0.15; 'os.environ': 0.16; 'platform)': 0.16; 'exists': 0.19; 'subject:Windows': 0.19; '(like': 0.21; 'header:In-Reply-To:1': 0.22; 'dictionary': 0.23; 'platforms.': 0.23; 'received:209.85.213.46': 0.23; 'received :mail-yw0-f46.google.com': 0.23; 'subject:Question': 0.25; 'subject:information': 0.25; "i'm": 0.27; 'possible?': 0.29; 'environment': 0.29; 'subject:Getting': 0.30; 'message- id:@gmail.com': 0.32; 'to:addr:python-list': 0.34; 'header:User- Agent:1': 0.34; 'there': 0.34; 'machine': 0.35; 'probably': 0.35; 'running': 0.35; 'similar': 0.37; 'but': 0.37; 'received:192': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.38; 'received:192.168.1': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'skip:o 30': 0.63; 'saw': 0.64; 'exact': 0.69; '10:21': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=aD9yY+/fgl+6WtJ4smdZ+PkaNO6uYIgBYFv8mHT04rA=; b=EhOHKIyF9DkXExV00fsWDj6zg6hvvlELY6UUBIRn9xd34XLHV7xisPU/+VZfct2tXG K9I5gEKtnDaD0KAmKVWW/sdSQ3oV+HdVRWBUjnrmZBQwxqI+jgbTlUX4eeClMhqDSJiV phZ0G6gxd0Osisi+rMVmNK3Pg6PRquBS4Ju/I=
Date Thu, 07 Jul 2011 10:46:56 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Question- Getting Windows 64bits information Python 32bits
References <CAEwAFDN_Ryi65MezJyLfSzps=ZQYCvJM=r0pgZtstKHZ+x5LBg@mail.gmail.com>
In-Reply-To <CAEwAFDN_Ryi65MezJyLfSzps=ZQYCvJM=r0pgZtstKHZ+x5LBg@mail.gmail.com>
X-Enigmail-Version 1.2
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.745.1310053626.1164.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1310053626 news.xs4all.nl 21826 [2001:888:2000:d::a6]:60742
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9033

Show key headers only | View raw


On 2011.07.07 10:21 AM, António Rocha wrote:
> I'm running Python (32b) in Windows7 (at 64bits) and I would like to
> know how can I check if my machine is a 32b or 64b in Python. Is it
> possible? I saw a few examples (like platform) but they only provide
> information about Python not the machine.
os.environ['processor_architecture']

os.environ is a dictionary of system environment variables. That exact
key probably only exists on Windows, but I'm there is a similar key on
other platforms.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Question- Getting Windows 64bits information Python 32bits Andrew Berg <bahamutzero8825@gmail.com> - 2011-07-07 10:46 -0500

csiph-web