Python cross-platform system functions