On Fri, Aug 21, 2009 at 11:24 AM, Harald Schilly
<harald.schi...@gmail.com>wrote:

>
> On Aug 21, 7:12 pm, Simon King <simon.k...@nuigalway.ie> wrote:
> > return a
> > dictionary D, where..
>
> I like that idea!
> Let's start with collecting commands:
>
> import sys; sys.platform for the platform?
>
> os.environ['SAGE_ROOT'] might be nice for bugreports?
>
> import multiprocessing; multiprocessing.cpu_count()
> for cpu count, seems to be os independent (better than cpuinfo quirks)


This is possibly useful too:

sage: is_64_bit
True

or equivalently

sage: import sys; sys.maxint
9223372036854775807


William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to