Project

General

Profile

Actions

Bug #1

closed

Python os.name returns "nt"

Added by dandar3 over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
somebody
Category:
Python Code and/or Scripts
Target version:
-
Start date:
Due date:
% Done:

0%

Resolution:
invalid
Affected Version:

Description

Hi,

Maybe I'm going mad here, but I think Python os.name used to return "xbox", now it returns "nt" value.

See test script code attached.

I need a way to different between platforms, I could maybe look for something else, but there might be other scripts/plugins out there relying on this.

Thanks,
Dan


Files

test os_name.py (39 Bytes) test os_name.py dandar3, 05/06/2010 06:18 PM
Actions

Also available in: Atom PDF