Working with platform.system()

Chris Rebert clp2 at rebertia.com
Wed Jul 29 21:21:32 EDT 2009


On Wed, Jul 29, 2009 at 6:10 AM, v1d4l0k4<v1d4l0k4 at gmail.com> wrote:
> Hi!
>
> I want to know how I can get different expected return values by
> platform.system() method. I want to sniff some systems (Linux, Windows, Mac,
> BSD, Solaris) and I don't know how I can check them correctly. Could you
> give me some expected return values that you know?

On my Mac, I get "Darwin".

You should file a bug in the docs after compiling the results, to help
future users.

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list