[Tutor] How to discover which OS my python is running?

2005-11-23 Thread Diego Galho Prestes
Hi! I'm using a program that I want to know if I'm running the program in Linux or Windows. How can I do this? I want this because I created all my program in Linux but if someone runs it in Windows I have to do some things to make it work well, and I want to do this verification automatically. Th

[Tutor] Sorting more than one list

2005-03-30 Thread Diego Galho Prestes
Hi! I need to sort 4 lists but I need that they make the "sort together". I'll sort just one but when I change the position of the items of the 1st list I have to change the positions of the other 3 lists. Can I do this just using the sort() method of the list object? If I can't, someone know a si